Programming Tutorials

WordPress Tutorial 2 [Creating Database And WordPress Installation]

WordPress Tutorial 2 [Creating Database And WordPress Installation]::

Welcome back it is the tutorial 2, here we will learn how can we make Database and installing of WordPress…..

Now that you have installed XAMPP let’s see how to install WordPress. First of all, you have to create a database to install WordPress. To do that, get back to the XAMPP control panel. Click on the ‘Admin’ link of the MySQL section. This will take you to the phpMyAdmin page.

Advertisement

You can also get to this page by entering the following URL into your browser –

http://localhost/phpmyadmin/

Advertisement

There is a menu on top of the page. Click the ‘Databases’ link. This will bring a page like the following –

wordpress_install

Right under the big ‘Databases’ title, you will find a section titled ‘Create database’. Provide the database name (as we have given fim) and click ‘Create’. This will create the database for you. Note down the database name, we will need it for installing WordPress.

1.  Installing WordPress on XAMPP

Now, to install WordPress on XAMPP, Download the latest version of WordPress from the official site. Extract the zipped archive to your desktop. Open the folder where you have installed XAMPP. Locate the folder titled ‘htdocs’. Copy the extracted WordPress folder into the htdocs folder. If you haven’t changed the default installation settings, the htdocs folder should be located at the following address –C:/Program Files/XAMPP/htdocs

2.  Editing wp-config.php

One of the most important files in your WordPress installation is the wp-config.php file. This file is located in the root of your WordPress file directory and contains your website’s base configuration details, such as database connection information. When you first download WordPress, the wp-config.php file isn’t included. The WordPress setup process will create a wp-config.php file for you based on the information you provide. You can manually create a wp-config.php file by locating the sample file named “wp-config-sample.php” (located in the root install-directory), editing it as required, and then saving it as wp-config.php

To change the wp-config.php file for your installation, you will need this information:

Database Name
Database Name used by WordPress
Database Username
Username used to access Database
Database Password
Password used by Username to access Database
wordpress_install

Open the file with notepad and edit the wp-config.php data as per the image. Save the file and wp-config.php.

wordpress_install

Next step is to browse this URL- http://localhost/fim in your browser for initializing the actual installation of WordPress.

Select language on the screen and continue. Fill in the website information-

wordpress_install

 

Fill up the required fields, and press “Install WordPress”.

 

That’s it. You have installed WordPress

In the next post we will learn about WordPress login and WordPress Dashboard so stay tuned with us….. If you enjoyed this post, I’d be very grateful if you’d help it spread by emailing it to a friend, or sharing it on Twitter or Facebook. Thank you!

References:

Other Related Article ::

Best WordPress Theme For Adsense Best WordPress plugin 2018

RochakGuy

Hi, I'm Piyush and I'm a passionate blogger. I love sharing my insights on Rochaksite.com. I'm committed to providing practical and informative content that helps readers achieve their goals and make informed decisions. When I'm not writing, I enjoy exploring new topics and trends in Technology and indulging in my personal hobbies and interests.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button