![]() ![]() ![]() Save the file anywhere and open it with any editor. In your browser type localhost/phpmyadmin. Do not change 'DB_HOST', let it be "localhost".ġ2) Now we have website ready, database settings ready, its time to populate database with data we had in localhost.ġ3) So first we fetch SQL data from your local machine in form of SQL file. Give same values here as we did in previous step. Now change 'DB_NAME', 'DB_USER', 'DB_PASSWORD' here. Right click on file "wp-config.php" and select "Edit". ![]() Create new database, create new user, add user to database(give any password), give privileges to user for this created database.ġ1) Now go to "CPANEL" homepage again and then to "File Manager"->"public_html". Go to "CPANEL" homepage again as we did in beginning and click on "MySQL Databases" in DATABASES section. ![]() Login to "cpanel" by opening link "4) Click on option "File Manager" in FILES tab.ĥ) On left side panel, click on "public_html".Ĩ) When upload finish come back in "public_html" folder and right click on this compressed file, click "Extract".ĩ) Ensure that when you are clicking on "public_html", you are able to view folders "wp-admin", "wp-content" etc.(and all other content of your website) on right side pane.ġ0) Now its time to set database. Just ensure they give "CPANEL" with this hosting.ģ) After you purchase this plan, you will get URL and credentials to login to "cpanel". You can follow below steps for this, I am assuming your website name is "myweb":ġ) Go to your website folder in "Xampp/htdocs/myweb" and compress your website folder to make tar or zip.Ģ) Buy linux hosting from any hosting service provider. ![]()
0 Comments
Leave a Reply. |