我尝试以root用户身份访问我的mysql服务器(也不能使用debain-sys-maint) unsing我重新安装了完整的服务器(全部清除)。sudo mysql_secure_installationsudo mysql
起作用了。ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password:
我在Debain7.4上安装了MySQL 5.6.16。但我在启动mysql时遇到了问题,每次启动mysql时都会遇到以下错误:
The server quit without updating PID file (/var/run/mysqld/mysqld.pid在进行了大量的googling搜索之后,我发现我应该从/etc/mysql中重命名/移动my.cnf文件,以查看mysql是否启动。它的启动和停止都没有问