{"id":2066,"date":"2015-03-31T13:28:35","date_gmt":"2015-03-31T13:28:35","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=2066"},"modified":"2015-03-31T13:28:35","modified_gmt":"2015-03-31T13:28:35","slug":"mysql-import-with-phpmyadmin-errors","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2015\/03\/31\/mysql-import-with-phpmyadmin-errors\/","title":{"rendered":"Mysql Import with phpmyadmin errors &#8211; The used command is not allowed with this MySQL version"},"content":{"rendered":"<p>Trying to LOAD DATA with phpmyadmin<\/p>\n<p>#1085 &#8211; The file &#8216;\/tmp\/phpqcXPYv&#8217; must be in the database directory or be readable by all<br \/>\n#1148 &#8211; The used command is not allowed with this MySQL version<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\n\n\/etc\/mysql\/my.cnf\n&#x5B;mysqld]\nlocal-infile=0\n\n<\/pre>\n<p>If this is set to local-infile=1 &#8211; and restart mysql &#8211; this should work<br \/>\nAlso &#8211; if that does not work &#8211; try adding it under the [client] section<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Trying to LOAD DATA with phpmyadmin #1085 &#8211; The file &#8216;\/tmp\/phpqcXPYv&#8217; must be in the database directory or be readable by all #1148 &#8211; The used command is not allowed with this MySQL version \/etc\/mysql\/my.cnf &#x5B;mysqld] local-infile=0 If this is set to local-infile=1 &#8211; and restart mysql &#8211; this should work Also &#8211; if that &#8230; <a title=\"Mysql Import with phpmyadmin errors &#8211; The used command is not allowed with this MySQL version\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2015\/03\/31\/mysql-import-with-phpmyadmin-errors\/\" aria-label=\"Read more about Mysql Import with phpmyadmin errors &#8211; The used command is not allowed with this MySQL version\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70,85],"tags":[],"class_list":["post-2066","post","type-post","status-publish","format-standard","hentry","category-mysql","category-phpmyadmin"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2066","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=2066"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/2066\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=2066"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=2066"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=2066"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}