MySQL error MY-010097 ER_SEC_FILE_PRIV_EMPTY Error message Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
Messages numbered MY-010000 and up are written to the MySQL server error log (MySQL 8.0 and later); they are not returned to clients.
Upgrading MySQL or MariaDB, or stuck on an error?
The same test harness behind this page can check your own schema and SQL against the version you are moving to,
and the people who built it can help with the problem in front of you.
We also work with PostgreSQL, Oracle, SQL Server, Sybase and DynamoDB, including migrations between them.
Tell us what you need →