Link to home
Start Free TrialLog in
Avatar of tripat
tripat

asked on

unable to find my.cnf

Hi,

I wanted to increase the max_connection variable to 500 but I am unable to find my.cnf file. please help.

Avatar of ldbkutty
ldbkutty
Flag of India image

Under Windows, *.cnf is a hidden extension on some systems

'C:\Windows\my.cnf' would show up as 'C:\Windows\my' because the ".cnf" extension is hidden under some Windows systems.
Avatar of tripat
tripat

ASKER

I am using linux es
On linux thefile is typicaly located at /etc/my.cnf If it is not there you can search fo the file with
find / -name my.cnf
ASKER CERTIFIED SOLUTION
Avatar of Umesh
Umesh
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"unable to find my.cnf"

Hmm... Where did you leave it last?  ;o)

Hi tripat,

Have you installed mySQL from source/RPM(Binary)?
If you have installed from any binary/RPM then the my.cnf should be in /etc/..
Say if this file is not found anywhere, then you can create my.cnf file. Please check this url for  how to stuff..

http://dev.mysql.com/doc/mysql/en/Option_files.html


Hope this helps!