I'm working on transferring accounts from a Centos6 to Centos7 server.
After getting both servers to same CPanel level - I used transfer tool to migrate (first) configurations and then Accounts. The transfers were all clean except for one warning message:
File privilege is a global privilege - so I wasn't sure why this had been flagged at the database level. And when I tested the account - indeed it had broken. From CLI...logged in as acctname_root:
So I checked the grants for the acctname... same on the old and new servers....thy both have the Global FILE privilege.
After getting both servers to same CPanel level - I used transfer tool to migrate (first) configurations and then Accounts. The transfers were all clean except for one warning message:
Code:
The system failed to grant privileges on the database “acctname_dbname” to the user "acctname_root” because of an error: (XID 6ctc6g) The following is not a valid MySQL privilege: FILE
SQL:
MariaDB [dbname]> select 'test' into outfile '/home/acctname/backupfolder/tmp/test2.csv';
ERROR 1 (HY000): Can't create/write to file '/home/acctname/backupfolder/tmp/test2.csv' (Errcode: 13 "Permission denied")
Grants for [email protected] | |
---|---|
GRANT FILE, EVENT ON *.* TO `acctname_root`@`localhost` IDENTIFIED BY PASSWORD '*%%%%%%%%%%%%%%%%%%%%%%' |