Error establishing a database connection on Linux localhost
-
Hi,
My hosting period finished and I’m trying to recreate my website on my laptop (ubuntu) so that I can recover the contents in the pages more easily when creating the website online in a new host. (It was a compromised host so I don’t want to simply bring the wp-content folder to the new location)
So I followed this link in order to install WP in my laptop: https://ubuntu.com/tutorials/install-and-configure-wordpress#7-configure-wordpress
but in the end I have a “Error establishing a database connection” and cannot proceed to the install.
I don’t know how to edit the database or check it’s name when on a laptop. I tried to install phpmyadmin through this tutorial: https://www.linuxshelltips.com/install-phpmyadmin-in-linux/
but I get a “not found” when typping https://localhost/phpmyadmin in my browser.How can I recover the content from the pages in order to copy-paste them to the new site?
Hope it is not so confusing,
Rod
- The topic ‘Error establishing a database connection on Linux localhost’ is closed to new replies.