• 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 https://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)
  • Is this a site you installed locally (on your computer) or on a web server?

    If it’s local, have you tried https://localhost/wp-admin ?

    Thread Starter jayv2251

    (@jayv2251)

    Local, I’ll try that right now.

    Thread Starter jayv2251

    (@jayv2251)

    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?

    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

    (@jayv2251)

    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

    (@jayv2251)

    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 https://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

    (@jayv2251)

    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!

    Hi, jayv2251

    Did you manage to solve your problem?
    Having exactly the same issue as you.
    Lost my hair from running in loops…

    @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.