Design Your Own Website with WordPress
Edit wp-config.php within file manager to point website to Database
Currently, the wp-config.php file reference to your offline website. (db name, root user and no password)
For the online version to work, a database username and password must be created. You already have the database
Do the following: Open your text file with all the information. Create and enter a db username & db password and click
save. (This will be used to copy & paste and will serve as a backup). You now have all the information for the website.
? WordPress Back-end Log-In information
? Online Database
? cPanel Log-In information
Keep this file safe!
It does not matter what you name the new database, as long as the wp-config.php file reference to the correct database.
It’s the tables within the database that counts!
Do the following after creating a db username & password: Click on wp-config.php – Click on Code Editor:
112 | P a g e