28th
tip: mysql
use show tables like “table_name” to see if a table exists http://bit.ly/SjdBG
use show tables like “table_name” to see if a table exists http://bit.ly/SjdBG
if you do not have lock permissions on a mysql server and want to do a mysqldump, use the —skip-lock-tables option (with caution)
due to bug with trac interacting with mysql, create the trac database as: CREATE DATABASE trac DEFAULT CHARACTER SET latin1 COLLATE latin1_bin;
if you receive an error about mysql.procs_priv not existing, use mysql_fix_privilege_tables (with, optionally, the —password=
if you forget your root password, kill mysql, edit a file and place SET PASSWORD FOR root@localhost = PASSWORD(‘MyNewPassword’); in it, and issue a mysqld_safe —init-file=path/to/file &