【待反馈】ERROR! The server quit without updating PID file (/www/server/dat
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:最新版本
系统版本:
cos7.9
问题描述:
服务器重新启动后 数据库报错ERROR! The server quit without updating PID file (/www/server/data/vmi1914775.contaboserver.net.pid)
相关截图(日志、错误):
ERROR! The server quit without updating PID file (/www/server/data/vmi1914775.contaboserver.net.pid) 您好,根据以下方式排查一下
1:检查一下用户是否有权写入PID文件到/www/server/data/目录
2:请检查一下是否端口冲突导致的
3:检查一下是否磁盘空间不足,内存不足导致的
4:如果你的系统启用了SELinux,请关闭它
5:如果以上方式都不行的话,请手动启动一下/etc/init.d/mysql start 我准备 重新安装数据库了 以上方式没用如何把data 替换到新安装的mysql下面 GOQU 发表于 2024-6-23 14:46
我准备 重新安装数据库了 以上方式没用如何把data 替换到新安装的mysql下面 ...
您好,您需要在重装的时候备份数据库,然后再新安装的数据库中进行导入 我只保留了data 文件如何通过ibd文件恢复数据库? GOQU 发表于 2024-6-24 21:53
我只保留了data 文件如何通过ibd文件恢复数据库?
您好,您可以尝试,将文件剪切到新的目录中,看文件数据中是否能够识别到 报错进数据库mysql: Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) 无法创建数据库 提示127.0.0.1状态:
root用户连接失败,请尝试重置数据库root密码后重新添加;
重置过密码 成功 但是没用
试过重启 没用
点击数据库 二进制文件 Mysql 数据库状态异常!
终端中 链接mysql
mysql: Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
GOQU 发表于 2024-6-25 14:45
无法创建数据库 提示127.0.0.1状态:
root用户连接失败,请尝试重置数据库root密码后重新添加;
重置过密码 ...
您好,默认情况下面板安装的MySQL是仅仅只有本地的权限的,localhost和127.0.0.1的权限。如果需要远程访问的话,请参考教程
https://blog.csdn.net/qq_40147863/article/details/86485439
注意:MySQL开启外网访问并不安全的,建议您那边开启外网访问权限注意下安全问题。可以到系统防火墙中指定IP访问您的数据库的服务端口。 是在本地 GOQU 发表于 2024-6-25 16:06
是在本地
您好,查看一下是否有报错信息
cat /www/server/data/*.err|grep -i -C 10 error
检测一下文件是否为可执行权限
/www/server/mysql/bin/mysqld
2024-06-25T12:49:42.058580Z 4489 Access denied for user 'root'@'localhost' (using password: YES)
2024-06-25T12:49:46.596558Z 4490 InnoDB: Cannot open table /from the internal data dictionary of InnoDB though the .frm file for the table exists. Please refer tofor how to resolve the issue.
2024-06-25T13:37:11.288572Z 0 /www/server/mysql/bin/mysqld (mysqld 5.7.44-log) starting as process 29781 ...
2024-06-25T13:37:11.297344Z 0 Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
2024-06-25T13:37:11.297397Z 0 Aborting
2024-06-25T13:37:11.297432Z 0 Binlog end
2024-06-25T13:37:11.300422Z 0 /www/server/mysql/bin/mysqld: Shutdown complete 有很多报错
可以帮我远程看一下吗 数据库可以链接了,删除servers 表重建 刷新权限
页:
[1]
2