To fix those nasty "Unknown database" errors that remain from failing over to the slave.
cc/ @dblessing @patricio @rspeicher