Creating connection with database
-
I’m trying to install wordpress locally, however, I’ve been running into a lot of issues starting with this page:
“Before getting started
Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.Database name
Database username
Database password
Database host
…”So I update my wp-config-sample.php file by putting my DB name: ‘learningWordPress’, DB username: ‘root’, DB password: ‘root’, and DB host: ‘localhost:3306’ (It’s that port because if I go to xamp and click config, service and portsettins, and then MySQL, it says it’s running on mainport 3306).
then I inputed all that information to install wordpress and I get an error establishing database connection.
Then I found somewhere that you’re supposed to rename the wp-config-sample.php file to wp-config.php. However, when I did that, I got this error:
‘Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file to your WordPress installation.’
Then I tried to just have both files ‘wp-config-sample.php’ and ‘wp-config.php’ and that did not work either. Are there any experts out there who know how to solve these issues?
- The topic ‘Creating connection with database’ is closed to new replies.