error-establishing-a-database-connection
-
Hello,
I am totally new to WordPress.
I wanted to set up a website on my Synology NAS using WordPress. Downloaded WordPress package including MariaDB10 from Synology. Made some mistakes in entering information requested at installation. Reinitialized MariaDB hoping to clean erroneous information and replace them with correct ones.
Since, I get a “error-establishing-a-database-connection” message when trying to connect or trying to dis-intall either WordPress or DBMaria.
As this seems to be a common error, I tried several solutions gathered from internet. None worked.
I have been able to find the ‘DB NAME’, ‘DB USER’, ‘DB PASSWORD’, and ‘DB HOST’ in the WordPress wp-cpnfig.php file in the Webpackage directory. I could not locate the same information in the WordPress directory when looking in php Myadmin.
Could you please explain step by step where I should look in phpMyadmin to check that the above information is the same as in the WordPress wp-cpnfig.php file and how to mofify to make them match.
Thank you for your help.
-
Hi there!
It sounds like you may be referring to a self-hosted WordPress.org site. We can generally help with WordPress.com sites on this forum. For help with WordPress.org sites, we recommend posting on the WordPress.org support forum here: https://wordpress.org/support/forums/
There are some differences between WordPress.com and WordPress.org. If you aren’t sure about them, please check the following page that explains it: WordPress.com vs. WordPress.org.
Feel free to let us know if you have more questions.
- The topic ‘error-establishing-a-database-connection’ is closed to new replies.