Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

MySQL shutdown unexpectedly.

Open shell from from control panel and start mysql with this command:

mysqld –-console –-skip-grant-tables –-skip-external-locking

Open another shell from control panel and repair database with this command:

mysqlcheck -r --databases mysql --use-frm
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #MySQL #shutdown
ADD COMMENT
Topic
Name
9+5 =