ERROR 1290 (HY000) 解決辦法
select * into outfile '/home/update_testdbtest.txt' from update_test;
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
mysql> select * from update_test;
+------+-------+
| id | name |
+------+-------+
| 1 | hello |
| 2 | world |
+------+-------+
2 rows in set (0.00 sec)
mysql> show variables like '%secure%'
-> ;
+--------------------------+-----------------------+
| Variable_name | Value |
+--------------------------+-----------------------+
| require_secure_transport | OFF |
| secure_auth | ON |
| secure_file_priv | /var/lib/mysql-files/ |
+--------------------------+-----------------------+
3 rows in set (0.01 sec)
mysql> select * into outfile '/var/lib/mysql-files/update_testdbtest.txt' from update_test;
Query OK, 2 rows affected (0.00 sec)
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/28282660/viewspace-2212396/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- ERROR 1290 (HY000): The MySQL server is running withErrorMySqlServer
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables optErrorMySqlServer
- 【MySQL】ERROR 1290 (HY000): --secure-file-priv--匯出報錯MySqlError
- Vue 下 ESLint 的 error 解決辦法VueEsLintError
- Linux:ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannLinuxErrorMySqlServer
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- mysqldump Got error 1290MySqlGoError
- mysqldump error1066 錯誤的解決辦法MySqlError
- RuntimeError: cuDNN error: CUDNN_STATUS_EXECUTION_FAILED解決辦法ErrorDNNAI
- Cargo invocation has failed: Error: exit code: 101.解決辦法CargoAIError
- pecl PHP Parse error: syntax error, unexpected 'new' (T_NEW) 以及 XML缺失解決辦法PHPErrorXML
- 【Error】AttributeError: module ‘scipy.misc‘ has no attribute ‘logsumexp‘ 的解決辦法Error
- 帝國CMSr的Fatal error:Allowed memory size of的解決辦法Error
- Navicat tnt版本提示“failed to save password error code”的解決辦法AIError
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- 在Linux Mint中安裝Clion遇到CMake Error的解決辦法LinuxError
- RuntimeError: Error(s) in loading state_dict for SSD: Missing key(s) in解決辦法Error
- mongodb錯誤解決辦法-bash: ./mongod: cannot execute binary file: Exec format errorMongoDBORMError
- ERROR 1114 (HY000) The table '' is fullError
- SQLSTATE[HY000] [1045] Access denied for user ‘root‘@‘localhost‘ (using password: YES)”錯誤的隱藏解決辦法SQLlocalhost
- github慢解決辦法Github
- Namespoace Terminating 解決辦法
- Sublime Text 2報 Decode error - output not utf-8 錯誤的解決辦法Error
- mysql無法建立儲存過程問題 ERROR 1307 (HY000)MySql儲存過程Error
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- 檔案無法粉碎解決辦法
- composer 安裝擴充套件出現 "PHP Fatal error: Allowed memory ..."的解決辦法套件PHPError
- zblog升級報錯“Invalid argument supplied for foreach”或者“unserialize(): Error at offset”的解決辦法Error
- 公寓噪音的解決辦法
- height:100%失效解決辦法
- ERROR 1290:The MySQL server is running with the --secure-file-priv optionErrorMySqlServer
- 記vscode無法啟動解決辦法VSCode
- 使用fragment載入自定義fragment出現error inflating class fragment錯誤解決辦法FragmentError
- Qt5交叉編譯Project Error: Unknown module(s) in QT: script-private解決辦法QT編譯ProjectError
- Maven [ERROR] 不再支援源選項 5,請使用 7 或更高版本的解決辦法MavenError
- ZBlog升級1.7報錯“Invalid argument supplied for foreach”或者“unserialize(): Error at offset”的解決辦法Error
- -bash: XXX: command not found解決辦法