{"id":13131,"date":"2017-09-14T12:20:05","date_gmt":"2017-09-14T12:20:05","guid":{"rendered":"https:\/\/www.awardspace.com\/?page_id=13131"},"modified":"2024-10-17T11:23:57","modified_gmt":"2024-10-17T11:23:57","slug":"insert-command-denied","status":"publish","type":"post","link":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/","title":{"rendered":"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?"},"content":{"rendered":"<p>Having your own custom website is one of the most rewarding experiences you can have online, but from time to time, it can also throw seemingly random errors at you for no apparent reason. One of the more perplexing errors is <em>MySQL error #1142 \u201cINSERT command denied to user\u201d.<\/em> Unlike other errors, this particular issue can pop up in almost all content management systems, in phpMyAdmin, and even in code that you have written yourself. In this article, we will learn what causes the #1142 error and we will go over the possible solutions to this issue.<\/p>\n<p>&nbsp;<\/p>\n<h2>What Is Causing MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?<\/h2>\n<p>As the error message <em>\u201dINSERT command denied to user\u201d<\/em> suggests, the root problem is that the <em>INSERT<\/em> command fails. The <em>INSERT<\/em> command is used to add new information to your MySQL database. So, you can potentially run into this problem whenever you update your website with new information or when you try to manually insert new data into your database.<\/p>\n<p>Since this is a database-related issue, it can pop up on any website that uses a database to store information. The issue can affect everything from world-renowned content management systems like WordPress, Joomla, and Drupal, to small PHP websites that you may have coded yourself.<\/p>\n<figure><a class=\"et_pb_lightbox_image\" title=\"If you have a Joomla website and you run into the &quot;INSERT command denied to user&quot; problem, you may see a message similar to this one.\" href=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-1.png\" data-featherlight=\"image\"> <img decoding=\"async\" class=\"size-full wp-image-15434 aw-border-img alignnone\" src=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-1.png\" alt=\"If you have a Joomla website and you run into the &quot;INSERT command denied to user&quot; problem, you may see a message similar to this one.\" \/><\/a><figcaption style=\"font-size: 80%; color: #515151;\">If you have a Joomla website and you run into the &#8220;INSERT command denied to user&#8221; problem, you may see a message similar to this one.<\/figcaption><\/figure>\n<p>The #1142 error is most prevalent in shared hosting environments. Plans such as our <a href=\"\/free-hosting\/\">free website hosting<\/a> and our <a href=\"\/web-hosting\/shared-hosting\/\">premium shared hosting<\/a> packages fall into this category. The reason is that shared hosting plans often impose a limit, known as a <em>quota<\/em>, on the amount of information that can be stored in a single database.<\/p>\n<p>&nbsp;<\/p>\n<h3>What Is a Database Quota?<\/h3>\n<p>As more information is stored in a database, its size steadily grows. That is why hosting companies often impose a <em>database quota<\/em> which is essentially a storage limit for your database. When you reach this limit, you are no longer permitted to add new information to the database. In technical terms, when you reach your database storage limit, your database user loses its <em>INSERT<\/em> privileges.<\/p>\n<p>&nbsp;<\/p>\n<h3>How Can I Check My Database Quota and Current Space Usage?<\/h3>\n<p>You can easily check the current size of your MySQL database as well as the database quota imposed by your hosting plan using the <a href=\"https:\/\/cp1.awardspace.net\/database-manager\/\">Database Manager<\/a> section of the Control Panel, as is shown below:<\/p>\n<figure><a class=\"et_pb_lightbox_image\" title=\"The Database Manager has a dedicated Quota column where you can easily compare your current space usage to the maximum that is allowed by your hosting plan.\" href=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-2.png\" data-featherlight=\"image\"> <img decoding=\"async\" class=\"size-full wp-image-15434 aw-border-img alignnone\" src=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-2.png\" alt=\"The Database Manager has a dedicated Quota column where you can easily compare your current space usage to the maximum that is allowed by your hosting plan.\" \/><\/a><figcaption style=\"font-size: 80%; color: #515151;\">The Database Manager has a dedicated Quota column where you can easily compare your current space usage to the maximum that is allowed by your hosting plan.<\/figcaption><\/figure>\n<p>The only thing that we need to point out is that your current utilization statistics are not updated in real-time. As such, it may take an hour or so for any changes to the size of your database to be reflected in our Database Manager.<\/p>\n<p>&nbsp;<\/p>\n<h2>How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?<\/h2>\n<p>There are three approaches you can take to resolve the <em>\u201dINSERT command denied to user\u201d<\/em> problem:<\/p>\n<ul>\n<li>you can optimize your database in order to reduce its size without sacrificing any of your data.<\/li>\n<li>you can delete information that you no longer need.<\/li>\n<li>you can upgrade to a better hosting plan that grants you additional database storage.<\/li>\n<\/ul>\n<p>Below we will discuss the three options in greater detail.<\/p>\n<p>&nbsp;<\/p>\n<h3>Option 1: Optimize the Database<\/h3>\n<p>Optimizing the database is arguably the best approach to take as it allows you to instantly reduce your database\u2019s size without sacrificing any data. The only downside to this option is that for large websites this can prove to be only a temporary solution.<\/p>\n<p>To optimize your database, follow the steps below:<\/p>\n<ol>\n<li>Go to the <strong><a href=\"https:\/\/cp1.awardspace.net\/database-manager\/\">Database Manager<\/a><\/strong> section of our Control Panel.<\/li>\n<li>Click on the <strong>name of the database<\/strong> that is over quota.<\/li>\n<li>Open the <strong>Management<\/strong> tab.<\/li>\n<li>Choose the <strong>1-click Optimization<\/strong> option, as is shown in the screenshot below:<\/li>\n<\/ol>\n<figure><a class=\"et_pb_lightbox_image\" title=\"Optimizing your database is truly a one-click solution thanks to our Database Manager.\" href=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-3.png\" data-featherlight=\"image\"> <img decoding=\"async\" class=\"size-full wp-image-15434 aw-border-img alignnone\" src=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-3.png\" alt=\"Optimizing your database is truly a one-click solution thanks to our Database Manager.\" \/><\/a><figcaption style=\"font-size: 80%; color: #515151;\">Optimizing your database is truly a one-click solution thanks to our Database Manager.<\/figcaption><\/figure>\n<ol start=\"5\">\n<li>At this point, your database is optimized. However, it may take some time for this optimization to be reflected. To speed up the process, scroll further down the list of management options and choose the <strong>1-click Permissions Fix<\/strong> button. By doing so, you will be granted full access to your database immediately and you can continue working on your website.<\/li>\n<\/ol>\n<figure><a class=\"et_pb_lightbox_image\" title=\"Using the 1-click Permissions Fix button you can speed up the optimization process allowing you to continue working on your website immediately.\" href=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-4.png\" data-featherlight=\"image\"> <img decoding=\"async\" class=\"size-full wp-image-15434 aw-border-img alignnone\" src=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-4.png\" alt=\"Using the 1-click Permissions Fix button you can speed up the optimization process allowing you to continue working on your website immediately.\" \/><\/a><figcaption style=\"font-size: 80%; color: #515151;\">Using the 1-click Permissions Fix button you can speed up the optimization process allowing you to continue working on your website immediately.<\/figcaption><\/figure>\n<p>For more information on how database optimization works and the different ways of optimizing your database that you have available, you can refer to our full guide on <a href=\"\/kb\/reduce-mysql-database-size\/\">how to optimize a MySQL database<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h3>Option 2: Delete Unnecessary Data<\/h3>\n<p>Your other alternative when it comes to reducing your database size is to straight-up delete any data that is no longer necessary. This can be achieved using phpMyAdmin to <em>DROP<\/em> (delete) any tables that you no longer need. An example of this can be seen below:<\/p>\n<figure><a class=\"et_pb_lightbox_image\" title=\"Removing unnecessary information from the database is a sure-fire way of reducing its size.\" href=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-5.png\" data-featherlight=\"image\"> <img decoding=\"async\" class=\"size-full wp-image-15434 aw-border-img alignnone\" src=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-5.png\" alt=\"Removing unnecessary information from the database is a sure-fire way of reducing its size.\" \/><\/a><figcaption style=\"font-size: 80%; color: #515151;\">Removing unnecessary information from the database is a sure-fire way of reducing its size.<\/figcaption><\/figure>\n<p>Some website software products offer the ability for you to log every site visit for further analysis at a later time. Such information is often stored in your database. While this may be a useful feature to some, it can very quickly take up the majority of your database, especially if you have regular site visitors who spend plenty of time on your site. Disabling this logging functionality and removing the existing logs from the database can free up hundreds of megabytes.<\/p>\n<p>Another aspect of running a website that can consume a lot of database storage is user-generated content such as reader comments on a blog post. At the very least you should ensure that no SPAM comments are published as are not helpful in the slightest and take up valuable storage space. An even better approach would be to consider using a service like <a href=\"https:\/\/disqus.com\">DISQUS<\/a> as it not only helps protect you against SPAM comments, it even stores all comments on its own servers so they are not taking up any space at all in your database.<\/p>\n<p>&nbsp;<\/p>\n<h3>Option 3: Upgrade to a Better Hosting Plan<\/h3>\n<p>The last option that you have at your disposal is to upgrade to a better hosting plan. The next tier of hosting will always offer you more storage for your databases and our premier plans like the <a href=\"\/web-hosting\/shared-hosting\/\">Max Pack Plus<\/a> and all of our\u00a0<a href=\"\/web-hosting\/semi-dedicated-hosting\/\" target=\"_blank\" rel=\"noopener\">Semi-Dedicated web servers<\/a> will provide you with unlimited storage, thus dealing with the #1142 error once and for all.<\/p>\n<p>&nbsp;<\/p>\n<figure><a class=\"et_pb_lightbox_image\" title=\"If all else fails, you can always upgrade to a hosting plan that offers unlimited database storage.\" href=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-6.png\" data-featherlight=\"image\"> <img decoding=\"async\" class=\"size-full wp-image-15434 aw-border-img alignnone\" src=\"\/wp-content\/uploads\/2020\/03\/insert-command-denied-6.png\" alt=\"If all else fails, you can always upgrade to a hosting plan that offers unlimited database storage.\" \/><\/a><figcaption style=\"font-size: 80%; color: #515151;\">If all else fails, you can always upgrade to a hosting plan that offers unlimited database storage.<\/figcaption><\/figure>\n<p>If you are using one of our <a href=\"\/web-hosting\/vps-cloud-hosting\/\">Virtual Private Server packages<\/a> and you run into the <em>\u201cINSERT command denied to user\u201d<\/em> error, it is possible that your VPS has run out of space and there is simply no room for additional information to be stored. Once you confirm that the lack of storage is indeed the issue, you can <a href=\"https:\/\/cp1.awardspace.net\/services\/vpsUpgrades\">purchase additional disk space<\/a> for your VPS through our Control Panel.<\/p>\n<p>&nbsp;<\/p>\n<h2>Conclusion<\/h2>\n<p>When you are using a shared hosting server, you can solve the <em>MySQL error #1142 \u201cINSERT command denied to user\u201d<\/em> by making sure that your current database utilization does not exceed your database quota. This can be done by optimizing the database, deleting data, or just increasing your database quota. Sadly, some content management systems use different wording for the exact same error, so if your hosting plan limits the maximum size of your MySQL database, it is always a good idea to regularly check that you are not reaching your storage limit.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Having your own custom website is one of the most rewarding experiences you can have online, but from time to time, it can also throw seemingly random errors at you for no apparent reason. One of the more perplexing errors is MySQL error #1142 \u201cINSERT command denied to user\u201d. Unlike other errors, this particular issue [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":33819,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"off","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[36],"tags":[],"class_list":["post-13131","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-databases"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?<\/title>\n<meta name=\"description\" content=\"The MySQL Error #1142 \u201cINSERT Command Denied to User\u201d can prevent you from making any edits to your website. Read our tutorial to learn how to fix this.\" \/>\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.awardspace.com\/kb\/insert-command-denied\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?\" \/>\n<meta property=\"og:description\" content=\"The MySQL Error #1142 \u201cINSERT Command Denied to User\u201d can prevent you from making any edits to your website. Read our tutorial to learn how to fix this.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/\" \/>\n<meta property=\"og:site_name\" content=\"AwardSpace.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/AwardSpace\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-09-14T12:20:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-10-17T11:23:57+00:00\" \/>\n<meta name=\"author\" content=\"ivailod\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@awspace\" \/>\n<meta name=\"twitter:site\" content=\"@awspace\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ivailod\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/\"},\"author\":{\"name\":\"ivailod\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/ce135bfb9f8b0d51d047abe11d77b221\"},\"headline\":\"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?\",\"datePublished\":\"2017-09-14T12:20:05+00:00\",\"dateModified\":\"2024-10-17T11:23:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/\"},\"wordCount\":1289,\"publisher\":{\"@id\":\"https:\/\/www.awardspace.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#primaryimage\"},\"thumbnailUrl\":\"\",\"articleSection\":[\"Databases\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/\",\"url\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/\",\"name\":\"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?\",\"isPartOf\":{\"@id\":\"https:\/\/www.awardspace.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#primaryimage\"},\"thumbnailUrl\":\"\",\"datePublished\":\"2017-09-14T12:20:05+00:00\",\"dateModified\":\"2024-10-17T11:23:57+00:00\",\"description\":\"The MySQL Error #1142 \u201cINSERT Command Denied to User\u201d can prevent you from making any edits to your website. Read our tutorial to learn how to fix this.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#primaryimage\",\"url\":\"\",\"contentUrl\":\"\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.awardspace.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Knowledge Base\",\"item\":\"https:\/\/www.awardspace.com\/kb\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Databases\",\"item\":\"https:\/\/www.awardspace.com\/kb\/databases\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.awardspace.com\/#website\",\"url\":\"https:\/\/www.awardspace.com\/\",\"name\":\"AwardSpace.com\",\"description\":\"Free Web Hosting with PHP, MySQL, Email Sending, No Ads\",\"publisher\":{\"@id\":\"https:\/\/www.awardspace.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.awardspace.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.awardspace.com\/#organization\",\"name\":\"AwardSpace.com\",\"url\":\"https:\/\/www.awardspace.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png\",\"contentUrl\":\"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png\",\"width\":1759,\"height\":176,\"caption\":\"AwardSpace.com\"},\"image\":{\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/AwardSpace\/\",\"https:\/\/x.com\/awspace\",\"https:\/\/www.instagram.com\/awardspace\/\",\"https:\/\/www.quora.com\/profile\/Award-Space\",\"https:\/\/www.linkedin.com\/company\/19214384\/\",\"https:\/\/www.reddit.com\/user\/AwardSpace\",\"https:\/\/www.pinterest.com\/awardspace\/\",\"https:\/\/www.youtube.com\/user\/AwardspaceWebHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/ce135bfb9f8b0d51d047abe11d77b221\",\"name\":\"ivailod\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.awardspace.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g\",\"caption\":\"ivailod\"},\"url\":\"https:\/\/www.awardspace.com\/author\/ivailod\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?","description":"The MySQL Error #1142 \u201cINSERT Command Denied to User\u201d can prevent you from making any edits to your website. Read our tutorial to learn how to fix this.","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.awardspace.com\/kb\/insert-command-denied\/","og_locale":"en_US","og_type":"article","og_title":"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?","og_description":"The MySQL Error #1142 \u201cINSERT Command Denied to User\u201d can prevent you from making any edits to your website. Read our tutorial to learn how to fix this.","og_url":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/","og_site_name":"AwardSpace.com","article_publisher":"https:\/\/www.facebook.com\/AwardSpace\/","article_published_time":"2017-09-14T12:20:05+00:00","article_modified_time":"2024-10-17T11:23:57+00:00","author":"ivailod","twitter_card":"summary_large_image","twitter_creator":"@awspace","twitter_site":"@awspace","twitter_misc":{"Written by":"ivailod","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#article","isPartOf":{"@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/"},"author":{"name":"ivailod","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/ce135bfb9f8b0d51d047abe11d77b221"},"headline":"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?","datePublished":"2017-09-14T12:20:05+00:00","dateModified":"2024-10-17T11:23:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/"},"wordCount":1289,"publisher":{"@id":"https:\/\/www.awardspace.com\/#organization"},"image":{"@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#primaryimage"},"thumbnailUrl":"","articleSection":["Databases"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/","url":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/","name":"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?","isPartOf":{"@id":"https:\/\/www.awardspace.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#primaryimage"},"image":{"@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#primaryimage"},"thumbnailUrl":"","datePublished":"2017-09-14T12:20:05+00:00","dateModified":"2024-10-17T11:23:57+00:00","description":"The MySQL Error #1142 \u201cINSERT Command Denied to User\u201d can prevent you from making any edits to your website. Read our tutorial to learn how to fix this.","breadcrumb":{"@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.awardspace.com\/kb\/insert-command-denied\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#primaryimage","url":"","contentUrl":""},{"@type":"BreadcrumbList","@id":"https:\/\/www.awardspace.com\/kb\/insert-command-denied\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.awardspace.com\/"},{"@type":"ListItem","position":2,"name":"Knowledge Base","item":"https:\/\/www.awardspace.com\/kb\/"},{"@type":"ListItem","position":3,"name":"Databases","item":"https:\/\/www.awardspace.com\/kb\/databases\/"},{"@type":"ListItem","position":4,"name":"How Do I Fix MySQL Error #1142 \u201cINSERT Command Denied to User\u201d?"}]},{"@type":"WebSite","@id":"https:\/\/www.awardspace.com\/#website","url":"https:\/\/www.awardspace.com\/","name":"AwardSpace.com","description":"Free Web Hosting with PHP, MySQL, Email Sending, No Ads","publisher":{"@id":"https:\/\/www.awardspace.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.awardspace.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.awardspace.com\/#organization","name":"AwardSpace.com","url":"https:\/\/www.awardspace.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png","contentUrl":"https:\/\/www.awardspace.com\/wp-content\/uploads\/2018\/08\/awardspace_logo.png","width":1759,"height":176,"caption":"AwardSpace.com"},"image":{"@id":"https:\/\/www.awardspace.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/AwardSpace\/","https:\/\/x.com\/awspace","https:\/\/www.instagram.com\/awardspace\/","https:\/\/www.quora.com\/profile\/Award-Space","https:\/\/www.linkedin.com\/company\/19214384\/","https:\/\/www.reddit.com\/user\/AwardSpace","https:\/\/www.pinterest.com\/awardspace\/","https:\/\/www.youtube.com\/user\/AwardspaceWebHosting"]},{"@type":"Person","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/ce135bfb9f8b0d51d047abe11d77b221","name":"ivailod","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.awardspace.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/?s=96&d=mm&r=g","caption":"ivailod"},"url":"https:\/\/www.awardspace.com\/author\/ivailod\/"}]}},"_links":{"self":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts\/13131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/comments?post=13131"}],"version-history":[{"count":2,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts\/13131\/revisions"}],"predecessor-version":[{"id":75706,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/posts\/13131\/revisions\/75706"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/media?parent=13131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/categories?post=13131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.awardspace.com\/wp-json\/wp\/v2\/tags?post=13131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}