diff options
author | unknown <lenz@mysql.com> | 2003-07-15 12:50:17 +0200 |
---|---|---|
committer | unknown <lenz@mysql.com> | 2003-07-15 12:50:17 +0200 |
commit | b1646502dda3567302edae5c1428b1163ed42764 (patch) | |
tree | b6b39d24fc9da968c9448e74ab296e4afc0ea853 /scripts/mysqld_safe.sh | |
parent | 6159cd27bfe9d24e610c7a25f8e0d991abd9caff (diff) | |
download | mariadb-git-b1646502dda3567302edae5c1428b1163ed42764.tar.gz |
- removed options sort_buffer and key_buffer from calls to (my)isamchk
in mysqld_safe (commented out by default), to not override any options
defined in my.cnf (thanks to Axel Schwenke from Jobpilot.de for the
suggestion)
Diffstat (limited to 'scripts/mysqld_safe.sh')
-rw-r--r-- | scripts/mysqld_safe.sh | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/scripts/mysqld_safe.sh b/scripts/mysqld_safe.sh index fcd8e26c901..d7e3eedb84e 100644 --- a/scripts/mysqld_safe.sh +++ b/scripts/mysqld_safe.sh @@ -274,12 +274,16 @@ then fi # -# Uncomment the following lines if you want all tables to be automaticly -# checked and repaired at start +# Uncomment the following lines if you want all tables to be automatically +# checked and repaired during startup. You should add sensible key_buffer +# and sort_buffer values to my.cnf to improve check performance or require +# less disk space. +# Alternatively, you can start mysqld with the "myisam-recover" option. See +# the manual for details. # # echo "Checking tables in $DATADIR" -# $MY_BASEDIR_VERSION/bin/myisamchk --silent --force --fast --medium-check -O key_buffer=64M -O sort_buffer=64M $DATADIR/*/*.MYI -# $MY_BASEDIR_VERSION/bin/isamchk --silent --force -O sort_buffer=64M $DATADIR/*/*.ISM +# $MY_BASEDIR_VERSION/bin/myisamchk --silent --force --fast --medium-check $DATADIR/*/*.MYI +# $MY_BASEDIR_VERSION/bin/isamchk --silent --force $DATADIR/*/*.ISM echo "Starting $MYSQLD daemon with databases from $DATADIR" |