ssh into the homestead box and run it from there.
Mar 28, 2018
3
Level 1
php artisan migrate access denied error on multiple database engines conflict
i´m getting the "Access denied for user 'username'@'localhost'" when using php artisan migrate, the thing is that i have those credentials on my homestead virtual machine mysql database, but it seems, artisan is using my pc´s mysql engine instead of the homestead´s. i want it to use the mysql engine on the virtual machine, not the PC´s mysql engine.
i double check de host, port, db name, user and pass that im using on my laravel project and the ones that are in my homestead´s mysql database engine, they´re correct the same.
please help.
Level 67
1 like
Please or to participate in this conversation.