Problem with mysql

Hello,

When I try to connect to mysql via http.. I get this


Code:
Trying to connect to the provided MySQL server now...
Could not connect to the server: 'Lost connection to MySQL server at 'reading initial communication packet', system error: 61'
Anyone got any ideea why ?

Thank you.
 
Can you tell me where is the my.cnf file ! Please.
Also when I try to connect on local, I get this message.

Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
 
Melcu said:
Can you tell me where is the my.cnf file ! Please.
Also when i try to connect on local, i get this message.

Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

/usr/local/share/mysql/my.cnf
make sure the mysql daemon is running
 
This is the only file in that folder:

Code:
gateway# cd /usr/local/share/mysql/
gateway# ls
mysql_fix_privilege_tables.sql
 
Problem solved. Thank you for helo biru.
The problem was.. i only had install mysql client.
Not the database.
Thank you again.
 
Back
Top