Title: Can&#039;t open WordPress
Last modified: August 22, 2016

---

# Can't open WordPress

 *  [jayv2251](https://wordpress.org/support/users/jayv2251/)
 * (@jayv2251)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cant-open-wordpress-2/)
 * I feel really dumb about this one. Figured out where I went wrong causing Apache
   not to work. Wanted to open WordPress so I could follow along with Getting Started
   how-to. Thought I was being smart by writing down passwords and so on. But I 
   can’t figure out what to enter on the adress line to load WordPress. Since I 
   named my webpage rto-classifieds, I tried [http://rto-classifieds.com/wp-admin](http://rto-classifieds.com/wp-admin).
   Doesn’t work. What file would have the information I need to open WordPress???!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787364)
 * Is this a site you installed locally (on your computer) or on a web server?
 * If it’s local, have you tried [http://localhost/wp-admin](http://localhost/wp-admin)?
 *  Thread Starter [jayv2251](https://wordpress.org/support/users/jayv2251/)
 * (@jayv2251)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787388)
 * Local, I’ll try that right now.
 *  Thread Starter [jayv2251](https://wordpress.org/support/users/jayv2251/)
 * (@jayv2251)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787399)
 * Tried that. Didn’t work. Received a 404 error. Also the following error message.
 * Warning: mysqli_real_connect(): (HY000/1045): Access denied for user ‘Jaxom’@’localhost’(
   using password: YES) in C:\xampp\apps\wordpress\htdocs\wp-includes\wp-db.php 
   on line 1386
 * Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed
   in the future: use mysqli or PDO instead in C:\xampp\apps\wordpress\htdocs\wp-
   includes\wp-db.php on line 1416
 * Warning: mysql_connect(): Access denied for user ‘Jaxom’@’localhost’ (using password:
   YES) in C:\xampp\apps\wordpress\htdocs\wp-includes\wp-db.php on line 1416
 * Error establishing a database connection
 * This 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:3306.
   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?
 *  [Senff – a11n](https://wordpress.org/support/users/senff/)
 * (@senff)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787412)
 * You need to check the values you entered in wp-config.php (database name, user,
   password) and make 100% sure they are valid with how you set up the database.
 *  Thread Starter [jayv2251](https://wordpress.org/support/users/jayv2251/)
 * (@jayv2251)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787579)
 * Obviously I entered something wrong. What file contains the data I originally
   typed that I should have changed wp-admin to? Software has to be comparing against
   something.
 *  Thread Starter [jayv2251](https://wordpress.org/support/users/jayv2251/)
 * (@jayv2251)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787602)
 * define(‘DB_NAME’, ‘root_wordpress-trunk’); As per Getting started guide.
 * /** MySQL database username */
    define(‘DB_USER’, ‘Myusername’); Repeatedly checked
   from notes during install/setup.
 * /** MySQL database password */
    define(‘DB_PASSWORD’, ‘mypassword’); Also repeatedly
   checked against notes made during install/setup.
 * /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost:3306’);
 * I just don’t get it! I’ve gone over this so many times. When I start up Xampp
   Control panel, I’ve got green across the board, so I know every thing is working
   fine. Just can’t pull up [http://localhost/wp-admin](http://localhost/wp-admin).
   Either I need a way to reset everything back to default or a hint to where what
   I actually entered is stored other then wp-config.
 *  Thread Starter [jayv2251](https://wordpress.org/support/users/jayv2251/)
 * (@jayv2251)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787636)
 * Mark Senff,
 * My email has been acting weird last few days. Just received the email for your
   post above. As you can see, I’ve gone over these settings a dozen times or more.
   Ready to pull my hair out! Having said that I’m not the type to sit around waiting
   for others to do my work for me. Was doing my own investigating for the infamous“
   Error establishing a database connection” issue.
 * I cam across a script I could possibly run. I just don’t know how. It’s been 
   15 years since I took my Linux certification course, where most of the script
   writing was in bash, with some php. I look at the gui that came with Xampp for
   php and I’m totally lost!
 * Another suggestion was to switch ‘localhost:3306’ to 127.0.0.1. This did not 
   work. I also read that using an underscore when naming the database name may 
   cause an issue. Didn’t have a chance to investigate this any further. I only 
   did that because that’s how it says to do it in the Getting Started guide.
 * I’m all ears if anyone has any other suggestions. In the mean time I’ll continue
   reading and trying different things. See what works. Soooo frustrating, I just
   wanna get into building my website! UGH!
 *  [hans verhaegen](https://wordpress.org/support/users/hans-verhaegen/)
 * (@hans-verhaegen)
 * [11 years ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787695)
 * Hi, jayv2251
 * Did you manage to solve your problem?
    Having exactly the same issue as you. 
   Lost my hair from running in loops…
 *  [arleydaza](https://wordpress.org/support/users/arleydaza/)
 * (@arleydaza)
 * [11 years ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787703)
 * [@jayv2251](https://wordpress.org/support/users/jayv2251/) Did you manage to 
   solve your problem?
    I have the seme error when I try to install wordpress 4.2.2
   in my localhost.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Can't open WordPress’ is closed to new replies.

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 9 replies
 * 4 participants
 * Last reply from: [arleydaza](https://wordpress.org/support/users/arleydaza/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/cant-open-wordpress-2/#post-5787703)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
