• I created a site locally using mamp and I called the database ‘wordpress’. The person who manages the server that this site is going to be put on said, “rename the database because we already have one called wordpress”.

    How do I change the database name and will it mess up the site I created locally?

    Thanks!

Viewing 1 replies (of 1 total)
  • Best approach is to export the present “wordpress” database, create the new database, then import the data. The wordpress data does not contain the name of the database, that resides solely in the wp-config.php file.

    You will also have to either:
    create a new user for the new database
    OR
    grant access to the new database as the user which has access to the old database.

Viewing 1 replies (of 1 total)
  • The topic ‘How to rename a database in MAMP?’ is closed to new replies.