So, Unless you care where the socket resides, just changing the my.cnf to match should work. Then when you try to run the mysql command line client, it will read my.cnf to find the socket, but it will not find it since it deviates from where the server created one. This flag could override the my.cnf location, and that would result in a socket not being found where the my.cnf file indicates it should be. Sometimes the system startup script that launched the command line executable specifies a flag -socket=path. Once you find where the socket is being opened, add or edit the line to your /etc/my.cnf file with the path to the socket file: socket=/var/lib/mysql/mysql.sock My Mysql server system had the socket open at /var/lib/mysql/mysql.sock To find all socket files on your system run: sudo find / -type s
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |