1and1 Database problem

Permalink
Hello, I just installed concrete5 to 1and1 server. I get a database error and none of the solutions I found from other users worked.

SQLSTATE[HY000] [2002] No such file or directory

On the server field: i have tried "localhost", "127.0.0.1", "localhost:/tmp/mysql5.sock"

nothing works.

 
A3020 replied on at Permalink Reply
A3020
Are you sure MySQL is actually running? And, is it running on the default (3306) port?
edgeinnovation replied on at Permalink Reply
Yes. Correction, I'm still trying to install concrete5 on our live 1and1 server.

I have a local version of our concrete5 site and it works fine.

What details do you normally enter on the fields if you're on 1and1?
http://www.screencast.com/t/3ljJPZl3ZCxJ...
edgeinnovation replied on at Permalink Reply
I found the solution.

Server info should be: localhost;unix_socket=/tmp/mysql5.sock