解决方案:
mkdir /var/lib/mysql
chmod 777 /var/lib/mysql
就可以了
centos启动mysql,提示ysqld_safe Directory '/var/lib/mysql' for UNIX socket file don't exists.
2022-06-07 13:47:57
解决方案:
mkdir /var/lib/mysql
chmod 777 /var/lib/mysql
就可以了
centos启动mysql,提示ysqld_safe Directory '/var/lib/mysql' for UNIX socket file don't exists.