Change Wordpress database name

Avatar
  • Answered
I have several wordpress installations and would like to change the name of the database from numbers to something which easily distinquishes one from another, such as a name or letters referencing the site. I have not been able to find any tutorials on this.
Avatar
JeffMa
During the intallation process, you may always adjust it in the "Database name" field of Softaculous. If you are trying to chang an already existing database, it would take several steps to do so: 1) First, log into cPanel and make a backup of your existing databases using PHPMyAdmin. 2) Create the new databases that you want them to now be named. 3) Import those previous backups into your new databases. 4) Add your user permissions to the new databases. 5) Modify your wp-config.php files to reflect the new database names.