- 积分
- 2
- 威望
-
- 金钱
-
- 注册时间
- 2016-9-22
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
请各位大神和军哥帮忙看看!用lnmp1.2安装过程中,没有发现什么问题。
lnmp status
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| http://lnmp.org |
+-------------------------------------------+
nginx (pid 26738 26737 26735) is running...
php-fpm is runing!
鈼[0m mysql.service - LSB: start and stop MySQL
Loaded: loaded (/etc/init.d/mysql)
Active: active (running) since Thu 2016-09-22 12:10:07 CST; 2h 17min ago
CGroup: /system.slice/mysql.service
鈹溾攢26769 /bin/sh /usr/local/mysql/bin/mysqld_safe --datadir=/usr/local/mysql/var --pid-file=/usr/local/mysql/var/VM-201-117...
鈹斺攢26887 /usr/local/mysql/libexec/mysqld --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql --log-error...
Sep 22 12:10:03 VM-201-117-debian systemd[1]: Starting LSB: start and stop MySQL...
Sep 22 12:10:03 VM-201-117-debian mysql[26759]: Starting MySQL
Sep 22 12:10:07 VM-201-117-debian mysql[26759]: .....
Sep 22 12:10:07 VM-201-117-debian systemd[1]: Started LSB: start and stop MySQL.
可是,用mysql -u root -p 一直提示:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
用脚本想要修改root密码,然后提示:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock'
/tmp/mysql.sock 会被删除。重启服务器,会重新新成mysql.sock。重置密码的时候还是一样删除文件一样报问题。 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|