my.cnf

V551

New member
Joined
Dec 16, 2008
Messages
3
Hi Everyone,

I am in need for some help here...

I tried to edit my /etc/my.cnf file to improve mysql, however Now I get a cannot connect to database error on all of my sites.

I noticed the file had some information in there before I re-wrote it.
Does anyone know what the orig file has in it?

I should have recorded the information before I re-wrote it, but being a noob I didnt.

I am on centos with directadmin.

Any help would be greatly appreciated.

Joe
 
No, not at all, I just replaced the file, and now I emptied the file and still I get the error:

Database Error: Unable to connect to the database:Could not connect to MySQL.

MySQL is running, and I can connect to it using mysql -u root -p

Directadmin seems to be working alright, but the websites are all unbale to connect.

Some sites show:
Warning: mysql_connect() [function.mysql-connect]: Too many open links (0)

I remember something being in the file but I cant remember what it was, it was only one line under [mysqld]
 
Last edited:
Back
Top