#SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL:

17 messages · Page 1 of 1 (latest)

granite flume
#

$ php artisan migrate

Illuminate\Database\QueryException

SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = vinylshop and table_name = migrations and table_type = 'BASE TABLE')

at C:\sites_laravel\vinyl_shop\vendor\laravel\framework\src\Illuminate\Database\Connection.php:760
756▕ // If an exception occurs when attempting to run a query, we'll format the error
757▕ // message to include the bindings with SQL, which will make this exception a
758▕ // lot more helpful to the developer instead of just the database's errors.
759▕ catch (Exception $e) {
➜ 760▕ throw new QueryException(
761▕ $query, $this->prepareBindings($bindings), $e
762▕ );
763▕ }
764▕ }

1 C:\sites_laravel\vinyl_shop\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
PDOException::("SQLSTATE[HY000] [1045] Access denied for user 'homestead'@'localhost' (using password: YES)")

2 C:\sites_laravel\vinyl_shop\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
PDO::__construct("mysql:host=127.0.0.1;port=3306;dbname=vinylshop", "homestead", "secret", [])

rough grove
#

what is your default mysql username?

#

isn't root?

granite flume
granite flume
#

Yes

#

Ig

#

I use vagrant homestead

#

nope not that yet

#

omg

#

i think it worked

#

i only tried localhost and 127. ...

#

Thx

#

Again something stupid from my side

#

I delete thread

#

or idk