MySQL Connection Issue
#1

Hi,
I'm having a little problem connecting my mysql DB....

Код:
[MySQL] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
is returning when trying to connect to mysql or executing any mysql function...

I have mysql installed on the vps (debian). The tables are correct, too according to phpmyadmin...
The login data should be correct, too (tried IP as localhost and with actual IP).

Does anyone know how to solve this?
Reply
#2

Try 127.0.0.1 or full IP
Reply
#3

Did that, Same error.... Connecting via Website works fine
Reply
#4

check this page for answer http://stackoverflow.com/questions/4...sql-mysql-sock
Reply
#5

thank you, problem solved
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)