/scripts/mysql_secure_installation.pl.in --user=mysql
SERVERS IN PRODUCTION USE!In order to log into MySQL to secure it, we'll need the current
password for the root user.If you
当我输入mysql的时候提示ERROR 2002 (HY000): Can't connect to local MySQL server through sock '/var/lib/mysql.sock' (2)输入service mysqld start提示Failed to issue method call: Unit mysqld.service failed to load: No such
query.js:68:23)\n at Query.execute (/data/home/jammyxu/src/github.com/TarsCloud/TarsWeb/node_modules/mysql2)\n at Connection.handlePacket (/data/home/jammyxu/src/github.com/TarsCloud/TarsWeb/
.........................................................ERROR 2002 (HY000): Can't connect to local MySQLserver through socket '/opt/bkv1.1.0/common/mysql/data/mysql.sock' (2)2016-11-02 203022, Error: grants