firstextrais'start' 朴灿烈づ我的快乐病毒、 2023-09-25 04:22 42阅读 0赞 ### 急急急MySQL5.5数据库初始化报Unhandled rejection Error错误怎么解决 ### mysql初始化数据库报错 bin/mysqld\\ >--initialize-insecure\\ 2018-07-09T09:01:33.092169Z 0\[Warning\]TIMESTAMPwithimplicitDEFAULTvalueisdeprecated.Please use--explicit\_defaults\_for\_timestampserveroption(seedocumentation formoredetails). 2018-07-09T09:01:33.093305Z0\[ERROR\]--initializespecifiedbutthedatadirectoryhasfilesinit.Aborting. 2018-07-09T09:01:33.099451Z0\[ERROR\]Toomanyarguments(firstextrais''). 2018-07-09T09:01:33.093325Z0\[ERROR\]Aborting \[ERROR\]--initializespecifiedbutthedatadirectoryhasfilesinit.Aborting. 解决方法删除data原因,可能是重复安装mysql导致data文件夹下有文件 rm-rf/usr/local/mysql/data/\* \[ERROR\]Toomanyarguments(firstextrais''). 初始化命令有空格或者''里面的命令未能识别 ### 请帮忙分析Linux下mysql启动不起来的原因 ### 以下错误日志提示,都是查看MySQL错误日志得到,查看方法如下: 查看下MySQL配置文件my.cnf中有记录,日志记录在/log/mysql/error.log下 ?MySQL配置文件my.cnf权限问题导致无法启动,错误提示:World-writableconfigfile‘/etc/my.cnf’isignored ?Binlog丢失导致无法启动,错误日志:File‘./mysql-bin.000001’notfound ?Binlog无法读取导致无法启动,错误日志:Failedtoopenlog(file‘./mysql-bin.000001’,errno13) ?不能创建PID导致无法启动,错误日志:Can’tstartserver:can’tcreatePIDfile:Nosuchfileordirectory ?不能创建临时文件导致无法启动,错误日志:mysqld:Can’tcreate/writetofile‘/tmp/ibfguTtC’(Errcode:13) ?MySQL服务无法识别导致无法启动,错误提示:mysqld:unrecognizedservice ?MySQL配置了过大的内存导致无法启动,错误日志:InnoDB:Cannotallocatememoryforthebufferpool ?MySQL启动参数过多导致无法启动,错误提示:Toomanyarguments(firstextrais‘start’) ?MySQL目录权限问题导致无法启动,错误日志:File‘./mysql-bin.index’notfound(Errcode:13–Permissiondenied) ?MySQL未初始化导致无法启动,错误提示:can’topenthemysql.plugintable ?MySQL启动成功但未监听端口 ?MySQLibdata1权限问题导致无法启动,错误日志:InnoDBOperatingsystemerrornumber13inafileoperation ?磁盘空间满导致MySQL无法启动 ?进程残留导致MySQL无法启动 ?MySQL服务自动停止 这些是错误提示你对照去找你的原因就这么多了
还没有评论,来说两句吧...