Need Help Installing LOCALLY!!
-
I found a cool link showing how to download WordPress locally but I’m having difficulty…here’s the link https://tamba2.org.uk/wordpress/xampp/
I understand everything and did it correctly until I got to this part:
Download and unzip WordPress.
“Open the file wp-config-sample.php
These are the exact details you need for Xampp to work because the default user in phpmyadmin is called ‘root’ and there is no password.
define(‘DB_NAME’, ‘wordpress’); // The name of the database
define(‘DB_USER’, ‘root’); // Your MySQL username
define(‘DB_PASSWORD’, ”); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
Copy those details into your wp-config file, and save it as wp-config.phpNow you need to copy the files to the right place.
Click the Start button, followed by My Computer > Main drive > Xampplite > htdocs
Copy the whole WordPress folder into this directory.In your browser, go to https://localhost/wordpress/wp-admin/install.php and everything from there should run smoothly !”
When I entered the above link in my browser, I got the following error message:
“Error establishing a database connectionThis either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.”[please don’t post in capital letters – https://codex.www.ads-software.com/Forum_Welcome#The_Bad_Stuff ]
CAN ANYONE HELP!! NOT SURE WHAT I DID WRONG BUT COULD’NT UNDERSTAND EXACTLY HOW TO “COPY AND PASTE WP-CONFIG FILES”?
WHAT PASSWORD AND USERNAME ARE THEY REFERRING TO? I DID NOT HAVE TO SET UP ONE WHEN I INSTALLED XAMPP ON MY SYSTEM OR WORDPRESS, HELP!
- The topic ‘Need Help Installing LOCALLY!!’ is closed to new replies.