Re: [Phplib-users] MySql losing connection
Brought to you by:
nhruby,
richardarcher
|
From: Richard A. <rh...@ju...> - 2002-05-04 03:05:11
|
At 1:15 PM -0300 3/5/02, Leandro Nery wrote: >MySQL Error: 2013 (Lost connection to MySQL server during query) Try running a verification/repair on all the databases. See the manual, section 4.4.6. This should do the trick (assuming all your tables are MyISAM format): myisamchk --silent --force --fast --update-state -O key_buffer=64M -O sort_buffer=64M -O read_buffer=1M -O write_buffer=1M /path/to/database/dir/*/*.MYI Just plug in the correct path. Oh, and shut down the database first! ...R. |