Lewin.nu MySQL Information

Upgrade checklist

Because my MySQL servers run on other ports than the default, extra care should be taken when upgrading Ubuntu to make sure the proper MySQL upgrade steps are taken.

SSL Certificates

We use SSL to communcate between MySQL servers.

Renewing certificates

cacert.org certificates expire after a year.

Replication

Copying data after replication can be done with a command like this on cumulus:

mysqldump -S /var/run/mysqld/mysqld2.sock --password=<password&rt; --opt --single-transaction --comments --hex-blob --dump-date --no-autocommit --databases drupal_mmbot | mysql -h cirrus.stenius.org --password=<password> --ssl --ssl-ca=/etc/mysql/ca-cert.pem &>dump-dump &