MySQL: Difference between revisions
From DWIKI
m (→FAQ) |
m (→FAQ) |
||
Line 34: | Line 34: | ||
===mysqldump: out of memory=== | ===mysqldump: out of memory=== | ||
mysqldump -q | mysqldump -q | ||
===clean up mysql-bin=== | |||
purge logs; | |||
purge binary logs to 'mysql-bin.xxxyy'; |
Revision as of 10:21, 2 December 2008
Documentation
- Homepage
- Documentation
- MySQL Tutorial
- MySQL Cheat Sheet
- A collection of mysql commands
- MySQL C API Functions
- MySQL joins
- MySQLForge Wiki
- Common mysql queries
- MySQL Replication
Show syntax
http://dev.mysql.com/doc/refman/5.1/en/show.html
Tuning MySQL
In my.cnf check out:
log_slow_queries
On prompt check out stuff like:
SHOW STATUS LIKE '%qcache%; SHOW GLOBAL STATUS; SHOW VARIABLES;
FAQ
Fix privileges
mysql_fix_priviÂlege_tables
mysqldump: out of memory
mysqldump -q
clean up mysql-bin
purge logs; purge binary logs to 'mysql-bin.xxxyy';