{"id":1183,"date":"2012-02-23T16:29:24","date_gmt":"2012-02-23T21:29:24","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/02\/23\/database-connection-error-2-could-not-connect-to-mysql\/"},"modified":"2022-03-11T11:44:42","modified_gmt":"2022-03-11T16:44:42","slug":"joomla-database-connection-error-2-could-not-connect-to-mysql","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/","title":{"rendered":"Joomla Database Connection Error (2): Could Not Connect to MySQL"},"content":{"rendered":"<p class=\"alert alert-warning\">Joomla 2.5 has reached its end of life as for 12\/31\/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life <a href=\"https:\/\/docs.joomla.org\/Joomla!_CMS_versions\">here<\/a>.<\/p>\n\n\n\n<p>Joomla 2.5 utilizes a database to store a majority of a site\u2019s content. For example, if you write a new article in Joomla, the article is written to the database. As the database is vital for Joomla to run, if Joomla cannot connect to your database and access information, you will see database related error messages on your site. In this article, we\u2019ll show you a few common errors and how you can resolve them.<\/p>\n\n\n\n<p><strong>Common Joomla 2.5 Database Connection Error Messages:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#database-connection-error-2\">Database connection error (2): Could not connect to MySQL<\/a><\/li><li><a href=\"#database-connection-error-3\">Database connection error (3): Could not connect to database<\/a><\/li><li><a href=\"#mysql-server-has-gone-away\">MySQL server has gone away<\/a><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"database-connection-error-2\">Database connection error (2): Could not connect to MySQL.<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><figure><a href=\"\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"554\" height=\"394\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif\" class=\"optimized-lcp-image\" alt=\"database-connection-error-2-could-not-connect-to-mysql\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\"><\/a><\/figure><\/figure><\/div>\n\n\n\n<div style=\"clear:both;\"><\/div>\n\n\n\n<p><strong>Problem:<\/strong><br>This error message generally means that your Joomla\u2019s configuration.php file has either the wrong database name or database username. In our testing environment, we changed both the database username and password, and in each separate occasion the same error message occurred.<\/p>\n\n\n\n<p><strong>Solution:<\/strong><br>You should <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-2-5\/change-joomla25-db-user-pass\/\">review your configuration.php file and ensure you are using the correct MySQL username and password<\/a>. These settings will appear in the file as:<\/p>\n\n\n<pre>public $user = 'userna5_dbuser';\npublic $password = 'dbpass';<\/pre>\n\n\n<p>If you are sure the settings are correct, it is recommend to <a href=\"\/support\/edu\/cpanel\/reset-database-password\/\">reset your database user\u2019s password<\/a> and update your configuration.php file with the new password. This will help ensure that you have the correct database password set.<\/p>\n\n\n\n<div style=\"clear: both;\"><\/div>\n\n\n\n<p><a name=\"database-connection-error-3\"><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"database-connection-error-3\">Database connection error (3): Could not connect to database<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-3-could-not-connnect-to-database.gif\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"238\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-3-could-not-connnect-to-database.gif\" alt=\"database connection error could not connnect to database\" class=\"wp-image-7053\"><\/a><\/figure><\/div>\n\n\n\n<div style=\"clear:both;\"><\/div>\n\n\n\n<p><strong>Problem:<\/strong><br>This error message usually means that you are connecting to the wrong database server. For most Joomla installations, the Joomla files themselves and the database it connects to are on the same server. When this is the case, \u201clocalhost\u201d should be used the database server. We recreated this error message by setting the database host to \u201clocalhosttt\u201d (localhost spelled wrong).<\/p>\n\n\n\n<p><strong>Solution:<\/strong><br>If your Joomla site is setup like most, <a href=\"\/support\/edu\/joomla\/joomla-2-5\/configuration-settings\/\">check your configuration.php file<\/a> and ensure your database host is set to \u201clocalhost\u201d. This is setting looks like the following in your config file:<\/p>\n\n\n<pre>public $host = 'localhost';<\/pre>\n\n\n<div style=\"clear: both;\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mysql-server-has-gone-away\">MySQL server has gone away<\/h2>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><a href=\"\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_mysql-server-has-gone-away.gif\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"897\" height=\"790\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_mysql-server-has-gone-away.gif\" alt=\"mysql server has gone away\" class=\"wp-image-7054\"><\/a><\/figure><\/div>\n\n\n\n<div style=\"clear:both;\"><\/div>\n\n\n\n<p><strong>Problem:<\/strong><br>The \u201cMySQL server has gone away\u201d error generally means that there is a problem with MySQL on the server, therefor it is unavailable for use. In our testing environment, we shut down MySQL and received such a warning.<\/p>\n\n\n\n<p><strong>Solution:<\/strong><br>If you are not an InMotion Hosting customer, you should <a ferh=\"https:\/\/www.inmotionhosting.com\/support\/website\/website-troubleshooting\/how-to-get-great-technical-support#details\">contact your current web hosting provider with the necessary details<\/a> for more help with this. At InMotion Hosting, we monitor our servers 24 hours a day. If MySQL is not functioning on a server, we are aware usually seconds after the issue occurs. You can rest assured we are on top of the problem and that it should be corrected shortly. As always, you can contact our Support Team if you desire to report such a problem.<\/p>\n\n\n\n<div style=\"clear: both;\"><\/div>\n\n\n\n<p>Most often, if Joomla has been working fine and suddenly stops working due to a database error, there is a problem with the database on your server. You\u2019ll want to contact your hosting provider for further assistance. If you have recently made a change to Joomla and then you begin to see database errors, instead of contacting your host you should first check your database settings in your configuration.php file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Joomla 2.5 has reached its end of life as for 12\/31\/2014. Please be advised this may be a security risk to your website. You can view more information about the end of life here. Joomla 2.5 utilizes a database to store a majority of a site\u2019s content. For example, if you write a new article<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/\"> Read More ><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4403],"tags":[],"class_list":["post-1183","post","type-post","status-publish","format-standard","hentry","category-joomla"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Joomla Database Error: Could Not Connect to MySQL<\/title>\n<meta name=\"description\" content=\"In this article, we&#039;ll cover the more common Joomla 2.5 database errors and steps you can take to resolve them.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Joomla Database Error: Could Not Connect to MySQL\" \/>\n<meta property=\"og:description\" content=\"In this article, we&#039;ll cover the more common Joomla 2.5 database errors and steps you can take to resolve them.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-02-23T21:29:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-11T16:44:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif\" \/>\n<meta name=\"author\" content=\"Brad Markle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Brad Markle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/\"},\"author\":{\"name\":\"Brad Markle\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\"},\"headline\":\"Joomla Database Connection Error (2): Could Not Connect to MySQL\",\"datePublished\":\"2012-02-23T21:29:24+00:00\",\"dateModified\":\"2022-03-11T16:44:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/\"},\"wordCount\":569,\"commentCount\":23,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif\",\"articleSection\":[\"Joomla\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/\",\"name\":\"Joomla Database Error: Could Not Connect to MySQL\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif\",\"datePublished\":\"2012-02-23T21:29:24+00:00\",\"dateModified\":\"2022-03-11T16:44:42+00:00\",\"description\":\"In this article, we'll cover the more common Joomla 2.5 database errors and steps you can take to resolve them.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif\",\"width\":554,\"height\":394,\"caption\":\"database-connection-error-2-could-not-connect-to-mysql\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Joomla Database Connection Error (2): Could Not Connect to MySQL\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf\",\"name\":\"Brad Markle\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Joomla Database Error: Could Not Connect to MySQL","description":"In this article, we'll cover the more common Joomla 2.5 database errors and steps you can take to resolve them.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/","og_locale":"en_US","og_type":"article","og_title":"Joomla Database Error: Could Not Connect to MySQL","og_description":"In this article, we'll cover the more common Joomla 2.5 database errors and steps you can take to resolve them.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-02-23T21:29:24+00:00","article_modified_time":"2022-03-11T16:44:42+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif","type":"","width":"","height":""}],"author":"Brad Markle","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Brad Markle","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/"},"author":{"name":"Brad Markle","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf"},"headline":"Joomla Database Connection Error (2): Could Not Connect to MySQL","datePublished":"2012-02-23T21:29:24+00:00","dateModified":"2022-03-11T16:44:42+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/"},"wordCount":569,"commentCount":23,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif","articleSection":["Joomla"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/","name":"Joomla Database Error: Could Not Connect to MySQL","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif","datePublished":"2012-02-23T21:29:24+00:00","dateModified":"2022-03-11T16:44:42+00:00","description":"In this article, we'll cover the more common Joomla 2.5 database errors and steps you can take to resolve them.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/02\/edu_joomla25_joomla-database-errors_database-connection-error-2-could-not-connect-to-mysql.gif","width":554,"height":394,"caption":"database-connection-error-2-could-not-connect-to-mysql"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/joomla\/joomla-database-connection-error-2-could-not-connect-to-mysql\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Joomla Database Connection Error (2): Could Not Connect to MySQL"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5ae05d1210b0ef63c437ccedce2799bf","name":"Brad Markle","url":"https:\/\/www.inmotionhosting.com\/support\/author\/bradm\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4288,"name":"Website","slug":"website","link":"https:\/\/www.inmotionhosting.com\/support\/website\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=1183"}],"version-history":[{"count":8,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1183\/revisions"}],"predecessor-version":[{"id":86287,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1183\/revisions\/86287"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}