0

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

Charles Tester
  • 165
  • 1
  • 16

1 Answers1

0

By default Cpanel put on my.cnf local-infile=0

You must put on /etc/my.cnf

local-infile=1

After restart mysql

abkrim
  • 3,190
  • 7
  • 37
  • 58