Bytemare Bytemare - 1 year ago 81
MySQL Question

Having a local my.cnf for mysql

Is it possible to have a local my.cnf file for MySQL in which can override global one which is in

. I am using Ubuntu 14.04. I installed mysql from

Answer Source

Yes, it is possible. Create a file called .my.cnf in your home folder. It can look something like this:

host        =<MySQL server ip>
user        =user
password    =pass
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download