[Solved] MYSQL Error [Error Code] 1290 – The MySQL server is running with the –secure-file-priv option

1. Enter Mysql to view secure_ file_ The value of print

$mysql -u root -p

mysql> SHOW VARIABLES LIKE “secure_ file_ priv”;

secure_ file_ Prive = null — restrict mysqld from importing and exporting

secure_ file_ Priv =/TMP/– restrict the import and export of mysqld to/TMP/

secure_ file_ Priv = ‘– no restrictions on the import and export of mysqld

 

Similar Posts: