• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio 
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio  
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / error-establishing-a-database-connection

error-establishing-a-database-connection

  • Unknown's avatar
    poubelachat · Member · Nov 23, 2023 at 6:41 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    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.

  • Unknown's avatar
    aisajib · Member · Nov 24, 2023 at 11:06 am
    • Copy link Copy link

    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.

Tags

  • .org
  • account
  • design

About this topic

  • In: Support
  • 2 participants
  • 1 reply
  • Last activity 2 years
  • Latest reply from poubelachat

Have a question?

Get in touch
Back to Top

Couldn't find what you needed?

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • WordPress AI Features
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions