Fix errors establishing a database connection | 2023 | #WordPress 20
Tutorial Hosting
Foreign in this video we will quickly learn how you can fix air establishing a database connection so basically this is the issue where we cannot access the site and it has been resolved let’s get started for more WordPress content please subscribe to our Channel and press the Bell icon
We recently moved our site to another server and it had a database issue if I open the website URL let’s learn wordpress.com demo I am getting this database issue even if I try to access wp-admin it still shows the error if your website was working all good and if
You see this error first please talk to your hosting provider it could be because your database could not handle the request anyway we had this issue while moving the website to another server and it is because of the error in the wp config file to fix this you must
Access the cpanel let’s quickly log in to the cpanel enter the credentials so now we are on the cpanel first let’s find the database name and its user for our site for that go to the file manager and locate your website files which are usually under public underscore HTML
So here are all our website files Now find wpconfig.php file right click and click on edit edit so this is our database name and this is the database user and this is the password usually when there is a mistake in the password it causes this database error
Now let’s change the password for this database user for that again go to the cpanel and click on miscal database foreign you will find your database name only if it is shared hosting there will be many databases and here will be the list of database users
I’ll find your database user as per the wpconfig file so this is the one so here is the database user click on change password you can use your own password or use the password generator okay this password I have copied the password click on use password and change the password
So it is changed so now change the new password Here and save changes it is done now let’s see if this website works Let me refresh the website so this seems to work and also the main website works quote so this is how you can resolve error establishing database connection note
That if this error is from the server please ask your host thank you very much
#wordpresstutorial #database Is your WordPress site showing “Error establishing a database connection”? If yes, this WordPress video tutorial can help you fix the issues. There can be several reasons for WordPress database connection errors. However, the database problems mostly occur when moving the website from one host to another, the other reason could be the corrupt database. If the error is due to database username and password mismatch in WP-config file, it can be easily fixed. If the database is corrupted, you may need to restore the database to an earlier date. We really hope this video helps you solve your problems. Thank you very much. https://letslearnwordpress.com/wordpress/fix-error-establishing-a-database-connection —————————– WP Rocket: https://shrsl.com/3348v Domain & Hosting (Special Discounts) https://shrsl.com/33491 Enfold Theme https://1.envato.market/c/2653046/528319/4415 #database # WordPress tutorial #wordpresstraining
#Fix #errors #establishing #database #connection #WordPress
https://i.ytimg.com/vi/WFr00oRkfz0/hqdefault.jpg