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