我收到以下错误:
error: Found option without preceding group in config file: /etc/my.cnf at line: 1 Fatal error in defaults handling. Program aborted
这是我的/etc/my.cnf文件:
[root@host backup]#cat /etc/my.cnf max_allowed_packet=100M datadir=/var/lib/MysqL socket=/var/lib/MysqL/MysqL.sock user=MysqL # Default to using old password format for compatibility with MysqL 3.x # clients (those using the MysqLclient10 compatibility package). old_passwords=1 [MysqLd_safe] log-error=/var/log/MysqLd.log pid-file=/var/run/MysqLd/MysqLd.pid [MysqLdump] max_allowed_packet=100M