title: How do I create a wordpress database on XAMPP server?
body: <p>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)</p>
  
  <p>I think the problem is that i need a database.  But, where do I put it?  What directory?</p>
  
  <p>Here is where I'm at right now:</p>
  
  <p>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'</p>
  
  <p>in config.inc.php, I've changed "user" to 'root' and 'password' to ''</p>
  
  <p>When I try to connect to phpmyadmin, I get this.</p>
  
  <pre><code>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.
  </code></pre>
  
  <p>I've tried a number of ideas on various forums, but nothing gets me past this yet. Any ideas would be awesome.</p>
  
  <p>Greg</p>