MySQL uses the USE database_name to change the active database. Does that work on all databases?
EDIT: By databases I mean DBMS. Thanks for bringing it to my attention.
I am using PDO with PHP to create a new database and then a new user with privileges on that database. In case one of them fails, I want to rename the database and user so that they can be deleted later and the names are available.
Is it possible to rename a mysql database using the ALTER DATABASE?