How do I set file privilege for user of MySQL database in cpanel. I have tried
USE mysql;
UPDATE user SET File_priv = 'Y' WHERE User = 'db_user';
FLUSH PRIVILEGES;
With no success I have tried the code inside the database
How do I set file privilege for user of MySQL database in cpanel. I have tried
USE mysql;
UPDATE user SET File_priv = 'Y' WHERE User = 'db_user';
FLUSH PRIVILEGES;
With no success I have tried the code inside the database
By default Cpanel put on my.cnf local-infile=0
You must put on /etc/my.cnf
local-infile=1
After restart mysql