php - PHPMyAdmin saying: The used command is not allowed with this MySQL version -
I am a Java developer who is new to MySQL
I load data operation using PHPMyAdmin Want to do Load data scripts have been confirmed because it works very well on my Windows OS configuration. When I'm trying to load data from CSV, I'm getting:
The command used does not have permission with this MySQL version
The version details are as follows
MySQL Server Edition: 5.5.34-0
OS: ubuntu0.13.04 .1 (Ubuntu)
I was done with editing
my.cnf :
[mysql] local-infile = 1 #Non-auto-reshash: fast start of # mysql, but no tab is full of ....................... [Mysqld] # # * Basic settings # local-infile = 1 user = mysql ......................... [client] Loose-local-infile = 1 Route port = 3306 ........................
I repeat Apache and MySQL several times. Trying to start - sudo service mysql restart Sudo service apache2 restart
Nothing has worked for me which helps me to do the operation using phpmyadmin. When using the command
mysql -u root -p --local-infile test
I load the data operation successfully through the mysql prompt I am able. Since I have multiple CSVs in chunks and SQL load scripts for each part, I want to run it using a full (one by one load script $ $) once using phpmyadmin.
Please help me solve this problem. I have already passed the following answers to the stack overflow
[UPDATE]
The variable is showing local iFile as 'on', I have verified it using phpmyadmin using SQL query
< Code> show as "local%" type>load script
load data in local INFILE 'full_dir_path / man_final.csv' table 'Manufact_t' defined by field, 'by encounter' '' Eprd were determined by '\\' '\ r \ n' IGNORE 1 line (man_sr, man_name, address, phone, fax, email, url, subdivision, @man_parent, man_id) man_parent = 0; / Code>
My friends There may be some reason for this error. The incorrect value of php.ini for
mysql.allow_local_infile . mysql.allow_local_infile = current
If you are working locally, then you must LOCAL You can try to remove SQL q from the . The MySQL server settings may not allow you to use the LOCAL keyword
CPanel < / Em>: The problem is phpMyAdmin which is built in the cPanel interface does not use php built with Apache. So you can prepare Apache all day again and this change will not change [php] how it has been compiled [from CPNL forum]
Hope this will help you Will help.
Comments
Post a Comment