Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

SOLVED: database config in laravel

Amir Ershadian:

when I installed xampp on windows i changed the localhost to localhost:122 , it's working now , but when i run Laravel , i can't access to mysql from it . this is my Database.php config and what changes are required?


mysql => [
'driver' => 'mysql',
'host' => '127.0.0.1',
'port' => '3306',
'database' => 'web_shop',
'username' => 'root',
'password' => '',
'unix_socket' => '',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => '',
]



Posted in S.E.F
via StackOverflow & StackExchange Atomic Web Robots
This Question have been answered
HERE


This post first appeared on Stack Solved, please read the originial post: here

Share the post

SOLVED: database config in laravel

×

Subscribe to Stack Solved

Get updates delivered right to your inbox!

Thank you for your subscription

×