Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8590443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T23:17:43+00:00 2026-06-11T23:17:43+00:00

I created a WordPress site on phpfog, then used git to download it locally.

  • 0

I created a WordPress site on phpfog, then used git to download it locally. The way phpfog is set up I can’t get to the wordpress database and access it from my localhost installation. I need to set up another database. So far, I haven’t been able to get it to work. Phpmyadmin won’t open.
(I’ve also tried a new installation of WordPress and the same thing happens)

I think the problem is that i need a database. But, where do I put it? What directory?

Here is where I’m at right now:

in the wp-config.php file, I’ve changed the parameters “user” to ‘root’ and the password to ‘mypassword’
in mylini, I’ve changed the password param to ‘mypassword’ and the port to ‘3306’

in config.inc.php, I’ve changed “user” to ‘root’ and ‘password’ to ”

When I try to connect to phpmyadmin, I get this.

Error
MySQL said:

Cannot connect: invalid settings.
phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

I’ve tried a number of ideas on various forums, but nothing gets me past this yet. Any ideas would be awesome.

Greg

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T23:17:45+00:00Added an answer on June 11, 2026 at 11:17 pm

    First – It’s hard to know how to answer as your question is rather vague. There’s two very different things involved. First, setting up xampp. Then setting up wordpress. I couldn’t quite figure out which you were referring to for each error, so here’s a long winded explination/answer in case any thing helps:

    Are you on Linux I presume? On windows it was a bit of a hassle and wamp was 20x easier. But, you might consider a preconfigured stack that includes xampp (and necessary includes) and a few other goodies, some come with wordpress installed. I haven’t personally used them, but wish I had – google ought to help out there.

    I’m assuming you went to (http://)localhost/phpmyadmin, right?

    First you need to get there before you hook up wordpress. As for hooking up xampp, it does take some configuration, so make sure you follow the docs – it’s not quite a one click install.

    Once you have xampp setup, you need to create a new database in localhost/phpmyadmin for wordpress. Then go back to your file folders, which should be located in xampp/htdocs/yourwordpressinstall.

    config.inc.php – is that your wordpress directory?
    It needs to be wp-config.php (if it’s not already there, save wp-config-sample.php as such). Open that, change server to localhost, database to the name of the database you just created. The username and password are the ones when you installed xampp. By default, I think they’re User: Root, and PW: unset(blank). If you go to phpmyadmin there’s a link to security and it’ll show you there. localhost/phpmyadmin

    Now, you should be able to type in the location of the filefolders.

    localhost/wordpress/
    – assuming your server is started, and the wordpress root folder is name “wordpress” and is in the xampp/htdocs/ folder.

    From there you should see wordpress.

    However, if you’ve exported your database, you’ll need to change the site_url and home_url options to the new url. I’d suggest using the plugin wp db migrate (something like that) which will allow you to export the database from wordpress and auto set the values. Once the plugin is installed it’s under the tools menu.

    If you google migrating wordpress, you’ll find plenty of tutorials and guides for moving wordpress from local to live, or as you’re doing, online to local.

    Sorry, I have to run, so I’m not sure if I really got to exactly what you needed, but that should get you started and give you the keywords to let google and other tutorials/docs get you the rest of the way.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have recently created this WordPress site and have used pixels and margins to
I created a site using wordpress. I installed the 'starkers' theme and modified it.
I used Firebug to inspect the HTML my php(using wordpress) files created. According to
I have created a searchfrom.php for wordpress but then it's giving me a false
Based on http://alexreg.wordpress.com/2009/05/03/strongly-typed-csv-reader-in-c/ , I created a DLL which can read different file types.
I created a blog site at wordpress.com. I create a new page (XYZ). I
hoping someone can help. I'm uploading a wordpress site to it's soon to be
I've just installed wordpress at the root of my site and created a custom
On a Wordpress site I'm developing, I have created a fcustom user meta field
I created a site in wordpress and I want to hide the menu from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.