Home / Web Development Tutorials / How to Create Database and Install WordPress

How to Create Database and Install WordPress

Part 4 – How to Create Database and Install WordPress

After adding the WordPress files into hosting account through FTP, Please follow the below steps to Create Database and Install WordPress:

How to Create Database and Install WordPress info

  1. Login into your hosting account.
  2. In the Databases section, click the MySQL Database Wizard icon.
  3. Now we have to Create the Database, enter the database name, database user namepassword and click on Create Database.
  4. Make note of the database name, username and password in the notepad.
  5. Go back to C-panel Dashboard.
  6. Now open wordpress folder in your PC and Rename the file from “wp-config-sample.php” to “wp-config.php”
  7. Right-click on the wp-config.php file and open it with notepad. After the opening the file, look for the following information:

define(‘DB_NAME’, ‘database_name_here’);/** MySQL database name*/
define(‘DB_USER’, ‘username_here’);/** MySQL database username */
define(‘DB_PASSWORD’, ‘password_here’);/** MySQL database password */

  1. Replace “database_name_here” with the “Database name” which you have created.
  2. Replace “username_here with the “Database username” which you have created.
  3. Finally, Replace “password_here” with the “password of the database” that you have given.
  4. Now Save the file.
  5. Login into your FTP account and delete “wp-config-sample.php” file and Upload latest “wp-config.php” file.
  6. After adding the file successfully into your FTP account. Open your website in new tab.
  7. Configure required details like site name and user details.
  8. Login into your site.
  9. Yes, your website is live now 🙂

Please feel free to comment below if you’ve any doubts. 😉 Don’t forget to share this page along with your friends.

Here is the Video for the same on “How to Create Database and Install WordPress – Part 4 Web development Tutorial” on our YouTube Channel.

Please subscribe to our channel for more videos on Web development Tutorials

About Smartz

Check Also

How to get a free domain name

How to Get a Free Domain Name for a Year

Part 1 – How to Get a Free Domain Name for a Year Please follow …

Leave a Reply