Hi,
I'm exploring the world of affiliate linking and want to auto load .csv files from several feeds into my database. I've read about local_infile,which I can turn on, but goes off after restarting MYSQL.
How can I keep local_infile turned 'on' always? (and yes, I am aware of the security issues related to loading files).
I tried the following:
- Login with root mysql u/p , SET GLOBAL local_infile = true; / SET GLOBAL local_infile = 1; SET GLOBAL local_infile = On;
- Changed and saved /etc/my.cnf , added local-infile=ON under [mysqld]
- Changed and saved /usr/local/php74/lib/php.ini , removed ; sign and kept mysqli.allow_local_infile = 1
What am I doing wrong?
I'm exploring the world of affiliate linking and want to auto load .csv files from several feeds into my database. I've read about local_infile,which I can turn on, but goes off after restarting MYSQL.
How can I keep local_infile turned 'on' always? (and yes, I am aware of the security issues related to loading files).
I tried the following:
- Login with root mysql u/p , SET GLOBAL local_infile = true; / SET GLOBAL local_infile = 1; SET GLOBAL local_infile = On;
- Changed and saved /etc/my.cnf , added local-infile=ON under [mysqld]
- Changed and saved /usr/local/php74/lib/php.ini , removed ; sign and kept mysqli.allow_local_infile = 1
What am I doing wrong?