{"id":1248,"date":"2013-11-22T13:15:50","date_gmt":"2013-11-22T13:15:50","guid":{"rendered":"http:\/\/www.milesweb.com\/hosting-faqs\/?p=1248"},"modified":"2018-05-12T10:32:51","modified_gmt":"2018-05-12T10:32:51","slug":"mysql-max-user-connections-error","status":"publish","type":"post","link":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/","title":{"rendered":"MySQL Max User Connections Error"},"content":{"rendered":"<p><strong>Warning: mysql_connect() [function.mysql-connect]: User cPanel-user_site already has more than &#8216;max_user_connections&#8217; active connections in \/home\/cPanel-user\/public_html\/general_lib\/packages\/cmf\/v2\/mysql.class.inc.php on line 2120<\/strong><\/p>\n<p>When accessing your website, you might face the error as above. This is due to the limitation of MySQL max user connections on the server. To fix the above error you will have to increase the max user connections. Here is how you can do it via SSH as root user.<\/p>\n<p>Open file with your favorite editor.<\/p>\n<p><strong>#vi \/etc\/my.cnf<\/strong><\/p>\n<p>Find for <strong>max_connections<\/strong> &amp; increase it to the value according to your server configuration and needs.<\/p>\n<p>Restart MySQL with command below.<\/p>\n<p><strong>#\/etc\/init.d\/mysql restart<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Warning: mysql_connect() [function.mysql-connect]: User cPanel-user_site already has more than &#8216;max_user_connections&#8217; active connections in \/home\/cPanel-user\/public_html\/general_lib\/packages\/cmf\/v2\/mysql.class.inc.php on line 2120 When accessing your website, you might face the error as above. This is due to the limitation of MySQL max user connections on the server. To fix the above error you will have to increase the max user [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-1248","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-web-hosting-faq"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MySQL Max User Connections Error<\/title>\n<meta name=\"description\" content=\"When accessing your website, you might face the error as above. This is due to the limitation of MySQL max user connections on the server.\" \/>\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.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL Max User Connections Error\" \/>\n<meta property=\"og:description\" content=\"When accessing your website, you might face the error as above. This is due to the limitation of MySQL max user connections on the server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2013-11-22T13:15:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-05-12T10:32:51+00:00\" \/>\n<meta name=\"author\" content=\"Dipak Bhoi\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dipak Bhoi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/\"},\"author\":{\"name\":\"Dipak Bhoi\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9\"},\"headline\":\"MySQL Max User Connections Error\",\"datePublished\":\"2013-11-22T13:15:50+00:00\",\"dateModified\":\"2018-05-12T10:32:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/\"},\"wordCount\":126,\"commentCount\":0,\"articleSection\":[\"Web Hosting FAQ\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/\",\"name\":\"MySQL Max User Connections Error\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\"},\"datePublished\":\"2013-11-22T13:15:50+00:00\",\"dateModified\":\"2018-05-12T10:32:51+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9\"},\"description\":\"When accessing your website, you might face the error as above. This is due to the limitation of MySQL max user connections on the server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL Max User Connections Error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9\",\"name\":\"Dipak Bhoi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/06c038953b2e3d42b23799928f61d43e39453845a2c73363d920172d06b416c2?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/06c038953b2e3d42b23799928f61d43e39453845a2c73363d920172d06b416c2?s=96&d=blank&r=g\",\"caption\":\"Dipak Bhoi\"},\"sameAs\":[\"http:\/\/www.milesweb.com\"],\"url\":\"https:\/\/www.milesweb.in\/hosting-faqs\/author\/dipak-bhoi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MySQL Max User Connections Error","description":"When accessing your website, you might face the error as above. This is due to the limitation of MySQL max user connections on the server.","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.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/","og_locale":"en_US","og_type":"article","og_title":"MySQL Max User Connections Error","og_description":"When accessing your website, you might face the error as above. This is due to the limitation of MySQL max user connections on the server.","og_url":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2013-11-22T13:15:50+00:00","article_modified_time":"2018-05-12T10:32:51+00:00","author":"Dipak Bhoi","twitter_misc":{"Written by":"Dipak Bhoi","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/#article","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/"},"author":{"name":"Dipak Bhoi","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9"},"headline":"MySQL Max User Connections Error","datePublished":"2013-11-22T13:15:50+00:00","dateModified":"2018-05-12T10:32:51+00:00","mainEntityOfPage":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/"},"wordCount":126,"commentCount":0,"articleSection":["Web Hosting FAQ"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/","url":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/","name":"MySQL Max User Connections Error","isPartOf":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website"},"datePublished":"2013-11-22T13:15:50+00:00","dateModified":"2018-05-12T10:32:51+00:00","author":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9"},"description":"When accessing your website, you might face the error as above. This is due to the limitation of MySQL max user connections on the server.","breadcrumb":{"@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/mysql-max-user-connections-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.in\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"MySQL Max User Connections Error"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.in\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.in\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/399554d5dc4b893a5a45ced5deba71c9","name":"Dipak Bhoi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.milesweb.in\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/06c038953b2e3d42b23799928f61d43e39453845a2c73363d920172d06b416c2?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/06c038953b2e3d42b23799928f61d43e39453845a2c73363d920172d06b416c2?s=96&d=blank&r=g","caption":"Dipak Bhoi"},"sameAs":["http:\/\/www.milesweb.com"],"url":"https:\/\/www.milesweb.in\/hosting-faqs\/author\/dipak-bhoi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=1248"}],"version-history":[{"count":3,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1248\/revisions"}],"predecessor-version":[{"id":4798,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/posts\/1248\/revisions\/4798"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=1248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=1248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.in\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=1248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}