php - Artisan is trying to use the Ubuntu MySQL database instead of XAMPP's -
i using linux web development first time. developing application using laravel (and xampp) , had no trouble doing on windows.
this time, however, whenever run php artisan
command refresh database error artisan can't connect database.
i realized he's trying access ubuntu's mysql databse instead of xampp's database. that's because using global php command instead of running xampp's php command (which used on windows). positive .env
file , database configuration file point correct database.
is there way make artisan work xampp's php command? please remember have limited linux knowledge.
thank you.
you should terminate ubuntu's mysql server, google how this, , can start xampp mysql server xampp controller.
Comments
Post a Comment