Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 339

Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 392

Deprecated: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /www/wwwroot/blog_qqvbc_com/usr/plugins/Access/Access_Core.php on line 394
mysql启动报错 unknown variable ,解决方法 - Joyber 的博客

今天启动mysql不了,查看错误日志,发现了这个错误:

2024-10-15T01:30:15.227220Z 0 [ERROR] unknown variable '%23collation-server=utf8_unicode_ci'
2024-10-15T01:30:15.228288Z 0 [ERROR] Aborting

错误原因
此问题是由 MySQL 配置文件 /etc/my.cnf 中的未知变量引起的。

解决方法
删除、更正或注释掉 /etc/my.cnf 文件的 MySQL 错误日志中指定的未知变量。

参考链接:
https://support.cpanel.net/hc/en-us/articles/1500009433641-MySQL-failing-to-start-with-an-unknown-variable-error

标签: none

添加新评论