pppplus
Verified User
- Joined
- Dec 19, 2008
- Messages
- 526
Code:
mysqlcheck -uda_admin -p`grep "^passwd=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2` --auto-repair --check --optimize --all-databases
doesn't work for me
error = mysqlcheck doesn't support multiple contradicting command
Code:
mysqlcheck -uda_admin -p`grep "^passwd=" /usr/local/directadmin/conf/mysql.conf | cut -d= -f2` --auto-repair --optimize --all-databases
I want to --auto-repair only some tables (they crash regularly, probably because a lot of datas are send every morning with LOAD DATA)
So for only one table :
Code:
mysqlcheck -uXXX -pYYY --auto-repair --optimize -B MY_DATABASE --tables MY_TABLE