Posts by Seriguchi • 1 point
1 post
-
0
votes2
answers7486
viewsA: An Exception PDO occurs when localhost is used as a host
You need to configure the default_socket in the archive php.ini. To locate the mysql socket: mysql -u root -p -h 127.0.0.1 -e "select @@socket" Located the socket, now just put the path in the file…