SEARCH

The How-To Geek Forums Have Migrated to Discourse

How-To Geek Forums / Tutorials

(Solved) - Wordpress installation

(5 posts)
  • Started 1 year ago by mrb172
  • Latest reply from mrb172
  • Topic Viewed 1490 times

mrb172
Posts: 3

Trying to set up wordpress on my USB stick with xampp, followed the tutorial (http://www.howtogeek.com/howto/14998/turn-your-flash-drive-into-a-portable-web-server/) and everything seems to be running ok. I continued to install wordpress and got the following error message "Error establishing a database connection" I've checked everything but can't seem to find any problems but obviously somewhere I have made a mistake and hoping someone could help me out.

Cheers

Posted 1 year ago
Top
 
minigeek
minigeek
Posts: 353

Did you start MySQL and allow it through your windows firewall?

If so, then try to access the phpMyAdmin control Panel. There are instructions for this in the article.

You will have to set up databases and a user for wordpress. (Instructions are in the article)

At what point in the article did you recieve this error? During the actual install of Wordpress or when setting up the databases?

MiniGeek

Posted 1 year ago
Top
 
mrb172
Posts: 3

Thanks for getting back to me.

Yeah allowed MySQL through my firewall and got all the way to entering the database details on wordpress and submitted and immeditaly says there is a error.
I've attached screenshots if it helps.

http://forbiddenchunk.co.uk/images/sql.JPG
http://forbiddenchunk.co.uk/images/database.JPG
http://forbiddenchunk.co.uk/images/wordpress.JPG

Posted 1 year ago
Top
 
minigeek
minigeek
Posts: 353

OK...

I just tried it and it failed using the method suggested by HTG. Here is what I did to get it working:

1) Delete the wordpress database and the user. You want a clean slate.

2) Go to privileges, and click Add a new user.

3) Fill in the information provided below, using your own password:

4) Select "Local" under Host. The word localhost should be automatically filled in on the right hand side.

5) Select "Create database with same name and grant all privileges"

6) Click "Check All" in the bottom right

7) Add the user! Click "Create User" in the bottom right.

8) The user, the database and all privileges have now been set up.

9) Go through the wordpress install and use the following info, using your own password:

10) Should work? I'm only 13, and am trying my best here. My apologies if this doesn't work. (It worked for me) Good luck!

Edit: Sorry. The images didn't work because I added the display page as a image. I have now fixed it.

MiniGeek

Note to mods: In this instance, you don't need to blank the password out of the image. This was on a private computer, and I will end up deleting xampp once this topic is solved.

Accepted Answer · Posted 1 year ago
Top
 
mrb172
Posts: 3

Yep that worked! Thank you so much!

Posted 1 year ago
Top
 



Topic Closed

This topic has been closed to new replies.

Enter Your Email Here to Get Access for Free:

Go check your email!