我在启动时如果不创建mysql.cnf文件启动正常,如果创建mysql.cnf后启动就报下面的错误错误:
nas:/mnt/mysql# error: Found option without preceding group in config file: /mnt/mysql/my.cnf at line: 1
Fatal error in defaults handling. Program aborted
error: Found option without preceding group in config file: /mnt/mysql/my.cnf at line: 1
Fatal error in defaults handling. Program aborted
mysql.cnf 配置文件中的内容:max_heap_table_size=64000000
max_connections=1000
max_tmp_tables=128
server-id =1
log-bin=mysql-bin
binlog-do-db=radius
binlog-ignore-db=mysql
nas:/mnt/mysql# error: Found option without preceding group in config file: /mnt/mysql/my.cnf at line: 1
Fatal error in defaults handling. Program aborted
error: Found option without preceding group in config file: /mnt/mysql/my.cnf at line: 1
Fatal error in defaults handling. Program aborted
mysql.cnf 配置文件中的内容:max_heap_table_size=64000000
max_connections=1000
max_tmp_tables=128
server-id =1
log-bin=mysql-bin
binlog-do-db=radius
binlog-ignore-db=mysql
解决方案 »
- MYSQL怎么判断外键关系是否存在?
- java 开发 mysql,无法释放连接
- 数据库某个表碎片和状态均为Ignore是什么含义呢?
- MySQL Connector/Net 5.1.3 客户端读读出来的数据都是乱码,试尽了一下方法都无法解决,那位大虾可以帮忙??
- MySql如何自动序号?
- MySql 处理树形递归的问题
- Vista下安装Mysql3.23.58
- mysql没有视图怎么办?
- mysql 前端 ,mysql bat正在下发
- mysql数据库突然变空了,请问怎么回事??
- 同ip 和同设备只算一条记录。。求有多少条记录?sql语句写出来。
- Mysql: Error 2003(HY000):Can't connect to MySQL server on 'localhost' (10061)
max_connections=1000
max_tmp_tables=128
server-id =1
log-bin=mysql-bin
binlog-do-db=radius
binlog-ignore-db=mysql
...配置文件不止这些,还有一些必须要有的,比如 socket=..... 楼主你在它自己的my.cnf里面修改就好了,不要自己创建一个.
我只用了这些配置文件~其它的我没有修改的