It looks like you are trying to setup your site via WordPress CMS and came here about how to know to do so for your site. And, here we will provide you with the better solution on this, with one of the most used method below to install WordPress for your site. If you have already seen out the other posts about installing the WordPress for your site in localhost or in the server using other method, then, the below described method might not be needed since that method will also do the same. And, the link to that post is given below:
Now, here we will describe it in another method, which is quite famous and is also too easy and is called as Famous 5 Minutes Install.
For this second method, creating the database step is same as described in the above link provided. The only difference here you will find is, we will be directly adding the database data in the wp-config.php file, residing in the WordPress root folder. So, for doing this, if you have just exported your WordPress file, via downloading the latest version of WordPress from this link, then, in the main folder, ie, root folder of it, you will find the file named as wp-config-sample.php with all of the required data to be entered there. So, you need to open up this file and add the required database information in this file. Here, below is the image provided for the data to be entered in your wp-config-sample.php file and later, which need to be saved to wp-config.php file upon steps completion:
The information details on which the data need to be managed manually in this file are:
/** The name of the database for WordPress */
In the code above, you need to replace database_name_here to the database name which you have created using your MySQL server or through your phpmyadmin application.
/** MySQL database username */
In the code above, you need to replace username_here to the username of your MySQL server, which is usually root if you are developing your site in the localhost.
/** MySQL database password */
In the code above, you need to replace password_here to the password of your MySQL server.
/** MySQL hostname */
In the code above, you need to replace localhost to the MySQL database host provider. It is generally localhost. But, if the server has different host name then, you can find its detail on the server itself.
* WordPress Database Table prefix.
* You can have multiple installations in one database if you give each
* a unique prefix. Only numbers, letters, and underscores please!
$table_prefix = 'wp_';
It is the prefix to be kept before the database table created by WordPress. It will be best practice if you make it unique, for the security reasons of your site.
After the above processes has been done, you need to save that file by renaming it to wp-config.php in the same location. Now, you can visit your server and then installation step will come up. Since, we have already added the host information, from the above steps, it will skip the database entry process and jumps to the final step directly of the installation, ie, to add the site information details. The image is below for this step:
Now, after filling up all of the information in the above steps, you can now login to your dashboard with the details which you have provided in just the above step and the final outcome of this will be like below screenshot if you visit to the front-end of your site:
So, now WordPress has been installed and now you can be able to add any of your post and pages in your site. So, make it yours and create your best site using WordPress. But, if you get any confusion by using this method to install WordPress for your site, then, you can always follow the above provided link as an alternative to set it up, which is here and is described more deeply.