mysqldude
Error codes › 1086

MySQL & MariaDB error 1086 ER_FILE_EXISTS_ERROR

Error messageFile '…' already exists
Example from our test runs: File '/var/lib/mysql-files/out_twice.txt' already exists (5.6.51)
MySQLMariaDB
SymbolER_FILE_EXISTS_ERRORER_FILE_EXISTS_ERROR
SQLSTATEHY000HY000
TypeServer errorServer error
Versionsevery release since 5.0 activeevery release since 5.5 active

Where this error shows up in our guides

  • OUTFILE syntax · Writing the same OUTFILE twice (expect 1086 file exists) MySQL 5.6 5.7 8.0 8.4 9MariaDB 10.6 10.11 11.4 11.8