[Wordpress] Error establishing a database connection
-
As the title said. I'm super noob, too. I just created using the Quick App but it just doesn't work. Wordpress only though. Drupal is working very nicely.
It just shows me 'Error establishing a database connection' message.
-
@Syaz_Amirin : Please read this:
https://laragon.org/docs/quick-app.htmlAlso, click Database button and see if Laragon created correpond database for you or not.
-
I had this too in 4.0.11, but not in 4.0.9. I noticed the database was getting created, but not the tables within.
I think the problem is that the wp_config.php file has the wrong root password. I changed it from 'password_here' to '' and then the site worked fine, and I was presented initially with the worpdress language selection page.
Hope this helps, and maybe a fix is in order for 4.0.12...?
-
@bob-f : Thanks - it has been fixed in Laragon 4.0.12
-
https://laragon.org/docs/quick-create.html
@leokhoa that link gives a 404
-
@patbell101 : Thanks - I've updated the link
https://laragon.org/docs/quick-app.html