当前位置:Gxlcms > 数据库问题 > Linux下MySql启动时报错

Linux下MySql启动时报错

时间:2021-07-01 10:21:17 帮助过:10人阅读

/opt/mysql/support-files/mysql.server start
my_print_defaults: [ERROR] Found option without preceding group in config file /opt/mysql/my.cnf at line 1!
my_print_defaults: [ERROR] Fatal error in defaults handling. Program aborted!
Starting MySQL. ERROR! The server quit without updating PID file (/opt/mysql/data/localhost.localdomain.pid).

在配置my.cnf文件时,需要在配置文件第一行加上[mysqld]组名。

Linux下MySql启动时报错

标签:

人气教程排行