mysqlcheck doesn’t support multiple contradicting commands

the switches that you use are mutually exclusive: so you want to get rid of one option. Try this:

mysqlcheck -u %MYSQL_USER% -p%MYSQL_PW% --auto-repair --optimize --all-databases

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注