tags 409780 + moreinfo
stop

Hello

On 2007-02-05 Stanislav Maslovski wrote:
> Feb  5 12:16:13 localhost /etc/mysql/debian-start[1497]: Checking for
> crashed MySQL tables.
> Feb  5 12:16:16 localhost /etc/mysql/debian-start[1593]: WARNING:
> mysqlcheck has found corrupt tables Feb  5 12:16:16
> localhost /etc/mysql/debian-start[1593]: wikidb.wiki_archive 
> Feb  5 12:16:16 localhost /etc/mysql/debian-start[1593]: error    : Table
> upgrade required. Please do "REPAIR TABLE wiki_archive" to fix it! 
...
> I have corrected this by running mysqlcheck manually
> # mysqlcheck --check-upgrade --all-databases --auto-repair \
> --user=debian-sys-maint --password=XXXXXXX
> 
> But I believe this had to be done automatically after an upgrade or/and on
> a reboot/service restart.

In fact, /etc/mysql/debian-start is supposed to do exactly that by starting:
  /usr/bin/mysql_upgrade_shell --defaults-extra-file=/etc/mysql/debian.cnf
on every MySQL restart.

But it seems that in recent versions the check which runs before the upgrade
script reports the errors. Maybe the order should be changed. Or the warning
ignored. Did you get the warnings a second time?

Which wiki software do you use? I would like to try reproducing this problem.

bye,

-christian-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to