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
. * the server quit without updating pid file (/opt/mysql/data/zenphp.pid).
                                                                                                                                                                                                 回复内容:                                                                                  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
. * the server quit without updating pid file (/opt/mysql/data/zenphp.pid).
从以下方法尝试下
检查目录权限 /opt/mysql/data/,确保读写权限
删除err文件
设置 selinux 状态
检查 mysql 文件夹的用户是否为 mysql
   
 
   