I am an Java developer new to MySQL.
I want to perform Load data operation using PHPMyAdmin. Load data scripts are verified as it worked pretty well on my Windows O
my friend. There can be few reasons of this error.
php.ini has wrong value for mysql.allow_local_infile. Must be - mysql.allow_local_infile = On
If you are working locally you can try to remove the LOCAL from your SQL query. Maybe MySQL server settings just don't allow you to use the LOCAL keyword
Only if you use cPanel: The problem is the phpMyAdmin that is built into the cPanel interface doesn't use the php built with apache. So you can rebuild apache all day long and it will not change how php is compiled [from cPanel forum]
Hope this will help you.
I have fixed this problem by removing LOCAL keyword. Please remove LOCAL keyword from the command, it will work for mysql server version 5.5.34-0.
My friend,
kindly us the following steps:-
Firstly, remove any current installations of MySQL server
run command in terminal sudo apt-get --purge remove mysql-server
go ahead and obtain the source files and other packages required to compile and install the source.
run command sudo apt-get install mysql-source-5.5 build-essential libncurses5-dev cmake
5.Go to the directory where the source is.
The best part while installing from source is that you may configure as per your need like DENABLED_LOCAL_INFILE
Kindly follow below link:-
http://www.sudo-juice.com/install-mysql-5-5-from-source-ubuntu-linux/