Laravel 5 PDO error

I recently copied a completed Laravel 5 project from a colleague who is using a Mac system for my Mac, we have the same configuration, I had the error: "at

PDO->__construct('mysql:host=localhost;dbname=tezzadev', 'root', '', array('0', '2', '0', false, '0')) in Connector.php line 50".

Even if we have the same database parameters. I'm dumbfounded, any help would be appreciated. Thanks to

+3


source to share


1 answer


Have you tried to connect using an IP address?

(adding this as an answer so you can pick this if you want!)



I seem to remember that I had a similar problem and will try to remember what I did to figure it out.

+1


source







All Articles