1

Can't start MySQL server if the .sock file is changed in /etc/mysql/my.cnf

view story
linux-howto

http://askubuntu.com – I have installed MySQL server 5.5 on Ubuntu 12.04. I am trying to start MySQL server on a different sock file. By default MySQL runs on /var/run/mysqld/mysqld.sock. I am trying to run the same server on /var/run/mysqld/mysqld1.sock. For this I have made the following changes: Changes to /etc/mysql/my.cnf [client] port = 3306 socket = /var/run/mysqld/mysqld1.sock [mysqld_safe] socket = /var/run/mysqld/mysqld1.sock nice = 0 [mysqld] user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld1.sock port = 3306 based (HowTos)