WhyServices My Company
whysthatso

Change Mysql Database Name

Posted on April 21, 2023  //  mysql

The easiest way to change database name is to copy to old stuff into the new stuff via a dump:

mysqldump source_db | mysql destination_db

Hey! I'll happily receive your comments via email. Thanks for reading.

Rails developer with a sysadmin's background, in Tallinn, Estonia · andreaswagner.io