MySQL#

Some useful links to explain the concepts of MySQl

Official MySQL Documentation#

Concepts#

Difference between MyISAM and InnoDB Storage engines#

Commands#

1mysql> pager less -SFX
2mysql> SELECT * FROM sometable;
1  SELECT table_schema "DB Name", ROUND(SUM(data_length + index_length) / 1024 / 1024, 1) "DB Size in MB" FROM information_schema.tables GROUP BY table_schema;

Configuration#

Backing Up | Restore Databases via Command Line#

Configure MariaDB for remote access#

Remove a MySQL user with privileges#

Information on MySQL Bin logs#

Replication (Master-Master)#

Replication (Master-Slave)#

Reset forgotten MySQL password#

Troubleshooting & Log Parsing#

Check for replication Lags#

Enable various logs via my.cnf or without restart#

Change the value of expire_log_days without MySQL restart#

Tuning & Hardening#

Perl script to analyze system MySQL variables & optimize#

MySQL error codes#

Fix for the ERROR 1396#

alternate text