Database connection via socket in DataTables Editor

Database connection via socket in DataTables Editor

gotomediagotomedia Posts: 8Questions: 0Answers: 0
edited October 2012 in General
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?

Replies

  • gotomediagotomedia Posts: 8Questions: 0Answers: 0
    This seems to be a problem specific to the Hoster (1und1)!
    The host entry has to look like this to work: "localhost;unix_socket=/tmp/mysql5.sock"
This discussion has been closed.