Database connection via socket in DataTables Editor
Database connection via socket in DataTables Editor
I am trying to connect the Editor to the database via socket. I am always getting back an error [2002]: Connection refused.
My host entry in the config.php looks like this: "host" => "localhost:/tmp/mysql5.sock",
Any clue why this does not work?
My host entry in the config.php looks like this: "host" => "localhost:/tmp/mysql5.sock",
Any clue why this does not work?
This discussion has been closed.
Replies
The host entry has to look like this to work: "localhost;unix_socket=/tmp/mysql5.sock"