MySQL usage in multi-php with LXC #56

Closed
opened 2019-04-23 15:01:29 +02:00 by lpoujol · 0 comments
Owner

127.0.0.1 should be used insead of localhost

Otherwise, PHP will try to talk with the unix socket, resulting in a fatal error (because the socket isn't shared into the container)

See https://www.php.net/manual/en/ref.pdo-mysql.connection.php#refsect1-ref.pdo-mysql.connection-notes

127.0.0.1 should be used insead of localhost Otherwise, PHP will try to talk with the unix socket, resulting in a fatal error (because the socket isn't shared into the container) See https://www.php.net/manual/en/ref.pdo-mysql.connection.php#refsect1-ref.pdo-mysql.connection-notes
lpoujol self-assigned this 2019-04-23 15:01:29 +02:00
lpoujol added the
Doc
label 2019-04-23 15:01:29 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: evolix/evoadmin-web#56
No description provided.