drnic/composite_primary_keys — pull request #100 by TylerRick (2012-04-26 18:20:42+00:00)
Title: Fix for this error when running rake mysql:rebuild_databases:

Mysql::Error: No database selected: create table reference_types (...

The problem was that task :create_database was establishing a connection
without the database, and we never subsequently established a connection
*with* the database selected which is needed for running the 'create
table' SQL.

We have to reenable the 'mysql:load_connection' task so that it will
actually be executed again when invoked again (it was *first* invoked as
a prerequisite of mysql:drop_databases.)