The command is this:
Or you can run this one (in a script for automation) but it's not recommended because the password is written in clear text:
mysqlcheck -u root -p --auto-repair --check --all-databases
You must supply the password when asked.Or you can run this one (in a script for automation) but it's not recommended because the password is written in clear text:
mysqlcheck -u root --password=THEPASSWORD --auto-repair --check --all-databases
No comments:
Post a Comment