• del7a

    (@del7a)


    I created a web page in localhost and have been customizing it for weeks and now today I wanted to open it as normal and I got this error. I need help because I have to finish the web for tomorrow. I tryied a lot of things like cheking the wp-config.php file and more and nothing works. Im using XAMPP.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Is MySQL running? And is it running on the default port (or the same custom port as configured in your wp-config.php file)?

    Also, can you please test to see if you can make a connection to the database from the command line or a simple PHP script, using the same credentials you have in your wp-config.php file?

    Thread Starter del7a

    (@del7a)

    I didnt touched anything about the ports, and yes MySQL is running, how I xonnect to my database from the command line or how I can do the script thing? Sorry im new

    Thread Starter del7a

    (@del7a)

    Now i tryed to delete and re create the user in phpMyAdmin and i got a database connection error too

    • This reply was modified 5 years ago by del7a.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error establishing a database connection ( XAMPP )’ is closed to new replies.