升级7.01后Connection refused MySQL连接出错?

升级7.01后进入面板提示 您当前系统无法正常工作,请点击链接排查解决:Connection refused MySQL连接出错。

ssh启动mysql 提示 mysql-5.7 is not installed.

[root@www ~]# ls -l /usr/local/
total 0
drwxr-xr-x 8 root root 184 Jan 23 15:50 aegis
drwxr-xr-x 8 root root 79 Jan 21 23:17 amh-7.1
drwxr-xr-x. 2 root root 174 Jul 12 2021 bin
drwxr-xr-x. 2 root root 6 May 11 2019 etc
drwxr-xr-x 5 root www 45 Jan 5 2023 freetype-2.9
drwxr-xr-x. 2 root root 6 May 11 2019 games
drwxr-xr-x 5 root www 41 Feb 9 2023 goaccess-1.5.6
drwxr-xr-x 7 root www 67 Jan 5 2023 image_magick-7.1
drwxr-xr-x. 2 root root 6 May 11 2019 include
drwxr-xr-x. 3 root root 23 Dec 25 2019 lib
drwxr-xr-x. 3 root root 23 Dec 25 2019 lib64
drwxr-xr-x 5 root www 43 Jan 5 2023 libevent
drwxr-xr-x. 2 root root 6 May 11 2019 libexec
drwxr-xr-x 6 root root 56 Jan 5 2023 libiconv-1.14
drwxr-xr-x 6 root www 56 Jan 7 2023 libmemcached-1.0.18
drwxr-xr-x 6 root root 56 Jan 5 2023 libzip-1.3.2
drwxr-xr-x 5 root www 67 Jan 7 2023 memcached-1.6
drwxr-xr-x 10 mysql mysql 180 Jan 5 2023 mysql-5.7-p1
drwxr-xr-x 11 root root 151 Jan 5 2023 nginx-1.20
drwxr-xr-x 10 root root 103 Mar 31 2023 php-7.4
drwxr-xr-x 6 root root 75 Jan 23 16:03 pure-ftpd-1.0.49
drwxr-xr-x. 2 root root 6 May 11 2019 sbin
drwxr-xr-x. 7 root root 91 Dec 25 22:16 share
drwxr-xr-x. 2 root root 6 May 11 2019 src
[root@www ~]# ls -l /home/usrdata/
total 4
drwxr-xr-x 3 root root 18 Jan 5 2023 amcrontab
drwxr-xr-x 2 root www 76 Jan 19 23:25 amlog
drwxr-xr-x 2 root root 6 Jan 5 2023 madmin
drwxr-x--- 8 mysql mysql 4096 Jan 23 16:00 mysql-5.7
drwxr-xr-x 3 root root 28 Jan 5 2023 nginx-1.20
drwxr-xr-x 4 www www 32 Jan 5 2023 phpmyadmin

阅读 626
1 个回答

如果是指升级面板7.1,正常升级面板并不会改动mysql与其它软件什么的,
面板的升级只会更新面板自身。

提示mysql-5.7 is not installed,是mysql-5.7是没安装状态了。先在ssh
ls -l /usr/local/
看返回哪些信息,是否有mysql-5.7的软件目录。

ls -l /home/usrdata/
看是否有mysql数据目录。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题