<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Database Archives - Website Issues, WordPress errors, Maneo Web</title>
	<atom:link href="https://maneoweb.com/tag/database/feed/" rel="self" type="application/rss+xml" />
	<link>https://maneoweb.com/tag/database/</link>
	<description>We are problem solvers</description>
	<lastBuildDate>Fri, 09 Oct 2020 12:55:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.4.4</generator>
	<item>
		<title>Error establishing a database connection WordPress solution</title>
		<link>https://maneoweb.com/error-establishing-a-database-connection-wordpress/</link>
		
		<dc:creator><![CDATA[Rob]]></dc:creator>
		<pubDate>Fri, 02 Oct 2020 00:52:50 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[WordPress Issue]]></category>
		<guid isPermaLink="false">https://maneoweb.com/?p=1355</guid>

					<description><![CDATA[<p>Error establishing a database in WordPress is a common problem. I&#8217;ve been using WordPress for more than 13 years now and I still love what it can do. Using this hugely popular CMS, it is relatively easy to throw up a good looking website in a matter of hours. But even though I consider myself a WordPress guru, it also sometimes drives me absolutely crazy. The error establishing a database connection WordPress problem is a good example of an issue&#8230; <a class="read-more-link" href="https://maneoweb.com/error-establishing-a-database-connection-wordpress/">Read More</a></p>
<p>The post <a href="https://maneoweb.com/error-establishing-a-database-connection-wordpress/">Error establishing a database connection WordPress solution</a> appeared first on <a href="https://maneoweb.com">Website Issues, WordPress errors, Maneo Web</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="800" height="426" src="https://maneoweb.com/wp-content/uploads/2020/10/Error-establishing-a-database-connection-WordPress-solution.jpg" alt="" class="wp-image-1358" srcset="https://maneoweb.com/wp-content/uploads/2020/10/Error-establishing-a-database-connection-WordPress-solution.jpg 800w, https://maneoweb.com/wp-content/uploads/2020/10/Error-establishing-a-database-connection-WordPress-solution-300x160.jpg 300w, https://maneoweb.com/wp-content/uploads/2020/10/Error-establishing-a-database-connection-WordPress-solution-768x409.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /></figure>



<h2 class="wp-block-heading">Error establishing a database in WordPress is a common problem.</h2>



<p>I&#8217;ve been using WordPress for more than 13 years now and I still love what it can do. Using this hugely popular CMS, it is relatively easy to throw up a good looking website in a matter of hours. But even though I consider myself a WordPress guru, it also sometimes drives me absolutely crazy. The error establishing a database connection WordPress problem is a good example of an <a href="https://maneoweb.com/slow-wordpress-website-change-host/">issue</a> I have experienced many times over the years. So rest assured, you are not alone!</p>



<h2 class="wp-block-heading">What causes the error establishing a database WordPress problem?</h2>



<p><strong>Ninety-nine percent of the time</strong>, this error is due to an incorrect WordPress database username or password. It is very easy to enter in your username or password incorrectly so you really need to pay attention to what goes where in the configuration file. But first you need to know where the database configuration file is in your WordPress installation. </p>



<h2 class="wp-block-heading">How to fix the error establishing a database WordPress issue</h2>



<ol><li>Navigate to your WordPress root folder using FTP or a file manager (most commonly <a href="https://cpanel.net">cPanel</a>)</li><li>Look for the file wp-config.php</li></ol>



<figure class="wp-block-image size-large is-resized"><img decoding="async" src="https://maneoweb.com/wp-content/uploads/2020/10/Cpanel-WordPress-root-folder.jpg" alt="WordPress root folder in cpanel or FTP" class="wp-image-1360" width="770" height="240" srcset="https://maneoweb.com/wp-content/uploads/2020/10/Cpanel-WordPress-root-folder.jpg 800w, https://maneoweb.com/wp-content/uploads/2020/10/Cpanel-WordPress-root-folder-300x94.jpg 300w, https://maneoweb.com/wp-content/uploads/2020/10/Cpanel-WordPress-root-folder-768x240.jpg 768w" sizes="(max-width: 770px) 100vw, 770px" /></figure>



<p>3. Download the file in <a href="https://filezilla-project.org">FTP</a> or edit it in your file editor (always make a backup of your file before you start editing!).</p>



<figure class="wp-block-image size-large is-resized"><img decoding="async" src="https://maneoweb.com/wp-content/uploads/2020/10/wp-config-file-WordPress.jpg" alt="wp-config.php WordPress settings file in root folder" class="wp-image-1361" width="513" height="470" srcset="https://maneoweb.com/wp-content/uploads/2020/10/wp-config-file-WordPress.jpg 800w, https://maneoweb.com/wp-content/uploads/2020/10/wp-config-file-WordPress-300x275.jpg 300w, https://maneoweb.com/wp-content/uploads/2020/10/wp-config-file-WordPress-768x705.jpg 768w" sizes="(max-width: 513px) 100vw, 513px" /></figure>



<p>4. Look for DB_NAME and make sure your database name is entered correctly in between the apostrophes. If you&#8217;re not sure what your database name is, please look for it in MYSQL Databases in cPanel.</p>



<p>5. Look for DB_USER and make sure the username is entered correctly in between the apostrophes. If you&#8217;re not sure what this username is, you can find it under MYSQL Databases in cPanel. Make sure that your database has a username assigned to it and that this user has all the necessary privileges. </p>



<p>6. Make sure the DB_PASSWORD is entered correctly in between the apostrophes. If you&#8217;ve forgotten what the password is, you can reset it under MYSQL Databases. </p>



<p>7. In the VAST majority of WordPress installations, &#8216;localhost&#8217; should be the correct setting for DB_HOST. But if you are sure you have entered your database credentials correctly and you are still having trouble, you might want to check with your host to make sure localhost is correct.</p>



<h2 class="wp-block-heading">What if I&#8217;m still having the WordPress database error problem?</h2>



<p>In a small number of cases, it&#8217;s possible the database may be corrupted. You can repair the database by navigating to PHPMyAdmin in Cpanel. </p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://maneoweb.com/wp-content/uploads/2020/10/PHP_My_Admin_Cpanel.jpg" alt="phpMyAdmin is located in Cpanel" class="wp-image-1362" width="655" height="437" srcset="https://maneoweb.com/wp-content/uploads/2020/10/PHP_My_Admin_Cpanel.jpg 800w, https://maneoweb.com/wp-content/uploads/2020/10/PHP_My_Admin_Cpanel-300x201.jpg 300w, https://maneoweb.com/wp-content/uploads/2020/10/PHP_My_Admin_Cpanel-768x514.jpg 768w, https://maneoweb.com/wp-content/uploads/2020/10/PHP_My_Admin_Cpanel-750x500.jpg 750w" sizes="(max-width: 655px) 100vw, 655px" /></figure>



<p>Navigate to your database, select all of the tables, and click on repair tables.</p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://maneoweb.com/wp-content/uploads/2020/10/repair_database_table_phpMyAdmin.jpg" alt="How to repair database tables in phpMyAdmin" class="wp-image-1363" width="682" height="332" srcset="https://maneoweb.com/wp-content/uploads/2020/10/repair_database_table_phpMyAdmin.jpg 800w, https://maneoweb.com/wp-content/uploads/2020/10/repair_database_table_phpMyAdmin-300x146.jpg 300w, https://maneoweb.com/wp-content/uploads/2020/10/repair_database_table_phpMyAdmin-768x374.jpg 768w" sizes="(max-width: 682px) 100vw, 682px" /></figure>





<h2 class="wp-block-heading">Are you still having database connection issues or do you need help locating your database username and password?</h2>



<p>Check with your host to make sure your MYSQL database server is up and running! </p>



<p>I fix WordPress issues all day long and I can help you! Shoot me a quick message below or call 918-766-9699 to get fast help! If you&#8217;re the skeptical type, take a look at my <a href="https://maneoweb.com/customer-reviews/">raving reviews</a>!</p>


<link rel='stylesheet' id='formidable-css' href='https://maneoweb.com/wp-content/plugins/formidable/css/formidableforms.css?ver=65648' media='all' /><div class="frm_forms  with_frm_style frm_style_formidable-style" id="frm_form_6_container" ><form enctype="multipart/form-data" method="post" class="frm-show-form  frm_pro_form " id="form_o8nlf22"  ><div class="frm_form_fields "><fieldset><legend class="frm_hidden">Fix My Website!</legend><div class="frm_fields_container"><input type="hidden" name="frm_action" value="create" /><input type="hidden" name="form_id" value="6" /><input type="hidden" name="frm_hide_fields_6" id="frm_hide_fields_6" value="" /><input type="hidden" name="form_key" value="o8nlf22" /><input type="hidden" name="item_meta[0]" value="" /><input type="hidden" id="frm_submit_entry_6" name="frm_submit_entry_6" value="0c18ecb269" /><input type="hidden" name="_wp_http_referer" value="/tag/database/feed/" /><div id="frm_field_27_container" class="frm_form_field form-field  frm_required_field frm_top_container how_can_I_help"><label for="field_e60rg3" class="frm_primary_label">HOW CAN I HELP YOU?<span class="frm_required">*</span></label><textarea name="item_meta[27]" id="field_e60rg3" rows="5"  style="width:550px" cols="61" data-reqmsg="HOW CAN I HELP YOU? cannot be blank." aria-required="true" data-invmsg="HOW CAN I HELP YOU? is invalid" class="auto_width" aria-invalid="false"   aria-describedby="frm_desc_field_e60rg3"></textarea><div id="frm_desc_field_e60rg3" class="frm_description"> If you would prefer to speak over the phone, please leave a phone number.</div></div><div id="frm_field_103_container" class="frm_form_field form-field  frm_top_container"><label for="field_c4q7m" class="frm_primary_label">YOUR WEBSITE ADDRESS<span class="frm_required"></span></label><input type="text" id="field_c4q7m" name="item_meta[103]" value=""  style="width:300px" data-invmsg="YOUR WEBSITE ADDRESS is invalid" class="auto_width" aria-invalid="false"   aria-describedby="frm_desc_field_c4q7m"/><div id="frm_desc_field_c4q7m" class="frm_description">This is optional but please fill it out for a quicker solution.</div></div><div id="frm_field_22_container" class="frm_form_field form-field  frm_required_field frm_top_container"><label for="field_3iphe3" class="frm_primary_label">FIRST NAME<span class="frm_required">*</span></label><input type="text" id="field_3iphe3" name="item_meta[22]" value=""  style="width:300px" data-reqmsg="FIRST NAME cannot be blank." aria-required="true" data-invmsg="FIRST NAME is invalid" class="auto_width" aria-invalid="false"  /></div><div id="frm_field_25_container" class="frm_form_field form-field  frm_required_field frm_top_container"><label for="field_3roeg3" class="frm_primary_label">EMAIL ADDRESS<span class="frm_required">*</span></label><input type="email" id="field_3roeg3" name="item_meta[25]" value=""  style="width:300px" data-reqmsg="EMAIL ADDRESS cannot be blank." aria-required="true" data-invmsg="Email Address is invalid" class="auto_width" aria-invalid="false"   aria-describedby="frm_desc_field_3roeg3"/><div id="frm_desc_field_3roeg3" class="frm_description">We NEVER share email addresses with anyone else.</div></div><input type="hidden" name="item_key" value="" /><input name="frm_state" type="hidden" value="YneOsnEPpl9ncqu3jF7FRIx16JSVfiaEb1ES3JOVA6c=" /><div class="frm_submit"><input type="submit" value="SEND!"  class="frm_final_submit" formnovalidate="formnovalidate" /><img decoding="async" class="frm_ajax_loading" src="https://maneoweb.com/wp-content/plugins/formidable/images/ajax_loader.gif" alt="Sending"/></div></div></fieldset></div></form></div>
<p>The post <a href="https://maneoweb.com/error-establishing-a-database-connection-wordpress/">Error establishing a database connection WordPress solution</a> appeared first on <a href="https://maneoweb.com">Website Issues, WordPress errors, Maneo Web</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
