I use PDO with PHP to create a new database and then a new user with privileges in this database. If one of them fails, I want to rename the database and the user so that they can be deleted later, and the names will be available.
Is it possible to rename a mysql database using ALTER DATABASE?
database php mysql pdo alter
Xerri
source share