I have hit a problem, when I edit the my.cnf
for MySQL, the bind-address
line is not in the file.
Here is the content of /etc/mysql/my.cnf
:
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Kindly help me to achieve this.