I moved mysql
datadir
to /storage-s01/mysql
, but socket
is still located at the same directory /var/lib/mysql/mysql.sock
.
Do I have to keep socket
at the same directory as datadir
?
BTW, If I want to change datadir
, i have to change that only /etc/my.cnf
file?
I have mariadb
Asked by pro100bear
(1 rep)
Aug 8, 2015, 04:06 PM
Last activity: Aug 9, 2015, 08:10 PM
Last activity: Aug 9, 2015, 08:10 PM