• Hi ,

    I was moving my website from local server (mamp) to live and I changed information in wp-config.php.However, I didnt saved the orignal. The info changed is as following:

    define(‘DB_NAME’, ‘info changed’);

    /** MySQL database username */
    define(‘DB_USER’, ‘info changed’);

    The file didn’t work online but it doesnt work offline either now.
    What can I do to retreive this missing info. Thank you very much !!

    • This topic was modified 6 years, 6 months ago by catycatcaty.
Viewing 1 replies (of 1 total)
  • Hi, what do you mean by you didn’t saved the original? Did you mean the original is the original wp-config.php from the installation files? or the wp-config.php from your local server?

    If what you are trying to do is to make your website works as it should in online server, you need to put your Database Name, Database Username, and etc on the second parameter inside the define, example: define(‘DB_NAME’, ‘your_database_name’), define(‘DB_USER’, ‘your_database_username’)

    the second parameter might be different between your local server and live server.

Viewing 1 replies (of 1 total)
  • The topic ‘I changed the DB_data in mp-config.php’ is closed to new replies.