mysql.cnf配置后启动不了~
16lz
2021-01-22
我在启动时如果不创建mysql.cnf文件启动正常,如果创建mysql.cnf后启动就报下面的错误
错误:
nas:/mnt/mysql#error:Foundoptionwithoutprecedinggroupinconfigfile:/mnt/mysql/my.cnfatline:1
Fatalerrorindefaultshandling.Programaborted
error:Foundoptionwithoutprecedinggroupinconfigfile:/mnt/mysql/my.cnfatline:1
Fatalerrorindefaultshandling.Programaborted
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
是my.cnf吧,贴出你my.cnf的全部记录.估计你有参数写错了;
错误:
nas:/mnt/mysql#error:Foundoptionwithoutprecedinggroupinconfigfile:/mnt/mysql/my.cnfatline:1
Fatalerrorindefaultshandling.Programaborted
error:Foundoptionwithoutprecedinggroupinconfigfile:/mnt/mysql/my.cnfatline:1
Fatalerrorindefaultshandling.Programaborted
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
6 个解决方案
#1
是my.cnf吧,贴出你my.cnf的全部记录.估计你有参数写错了;
更多相关文章
- 存储过程放在sql脚本里,命令行导入总是提示错误
- 解决缺少sql头文件编译错误
- “已有打开的与此命令相关联的 DataReader,必须首先将它关闭 ”错
- Mysql5.7.10版本安装后空密码登录,退出后提示密码错误连接不上解
- PostgreSQL无法加载库未知错误14001
- QT 使用QSqlQuery时候的 错误,。。。。
- 参数化的Insert语句,事务抛出错误
- 错误:第t列。tgisconstraint不存在
- 请问MYSQL 08S01错误怎么解决,谢谢