tail /mnt/mysqld_log/mysql_error_log.err | grep -e `date +'%y%m%d' --date='4 hour ago'` | more
12082411:25:06 [ERROR] /usr/libexec/mysqld: Table '.zone_assoc' is marked as crashed and should be repaired
我需要从mysql工作台中删除NO_ZERO_DATE标志。它阻止了SuiteCRM的正确操作。消除了我的能力,创建运动,例如,并抛出了许多错误。我不确定要输入什么才能移除NO_ZERO_DATE标志,我也不确定是否应该完全删除严格模式,因为它看起来是。read "Security" section of the manual to find out how to run mysqld as root!: Shutdown complete
尝试根@server ~]# mysqld --sql mod
'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strictC:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe (mysqld 8.0.31) initializing of server in progressas process 13960
mysql
[mysqld_safe]的意义是什么?[mysqld]不是已经启动MySQL了吗?为什么日志错误和pid文件设置在它之后?run mysqld under different user or group, sql_mode=TRADITIONAL
;sql_mode=STRICT_TRANS_TABLES,NO_ZERO_
但是,我需要手动启动mysqld.exe才能实现这一点。虽然wampserver图标没有变成绿色(保持橙色),并且显示只启动了3个服务中的2个,但mySQL (第三个服务)确实可以工作。' Session: Console*** ERROR *** This service IS NOT' Session: Console
The service of PID 4708