The MySQL server is running with the --secure-file-priv option
ERROR 1290 (HY000) at line 1: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
SELECT * INTO OUTFILE
ERROR 1290 (HY000) at line 1: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
執行SELECT * INTO OUTFILE的時候報這個錯誤
Mysql版本
檢視一下secure_file_priv的數值
show variables LIKE '%secure_file_priv%';
NULL 表示限制mysql 不允許匯入或者匯出
修改mysql配置檔案my.cnf 或 my.ini,在[mysqld]內新增
secure_file_priv =
(secure_file_priv的值沒有具體值時,mysqld的匯入或匯出不限制檔案目錄)
或者
secure_file_priv = 指定目錄 (限制mysqld 的匯入或匯出只能在指定目錄下)
重啟mysql,再次檢視
ok
相關推薦
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement
== running \n 就是 linux下 錯誤 var 網上 fontsize 今天在學習MySQL時候,想要將文本文件的數據導入到數據庫中,卻發現一直報錯,換了導入文本的路徑也還是同樣的錯誤,錯誤顯示ERROR 1290 (HY000): The MySQL s
ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot ···
MySQL報錯:ERROR 1290 (HY000): The MySQL server is running with the --secure-file-priv option so it cannot execute this statement 1.報錯 ERROR 12
The MySQL server is running with the --secure-file-priv option
ERROR 1290 (HY000) at line 1: The MySQL server is running with the --secure-file-priv option so it cannot execute this statement SELECT * INTO
報錯error1290 : The MySQL server is running with the –secure-file-priv .....#Olivia丶長歌#
在資料庫運維工作過程中,做資料測試,需要大量資料,對資料進行造數、翻數時,會遇到報錯ERROR 1290 (HY000): The MySQL server is running with the –secure-file-priv option so it c
ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot exe
mysql 配置檔案目錄:/etc/my.cnf root 密碼為空的時候配置檔案中下面這句: skip-grant-tables GRANT ALL PRIVILEGES ON *.* TO IDENTIFIED BY '123' WITH GRAN
MySQL故障處理一例_Another MySQL daemon already running with the same unix socket
read mon 解決 roo blog local 啟動mysql style 處理 MySQL故障處理一例:“Another MySQL daemon already running with the same unix socket”。 [root@test-121
Linux常見問題—mysql異常“Another MySQL daemon already running with the same unix socket”
1、 當虛擬機器異常斷電,mysql程序沒有正常關閉,再次開啟資料庫時出現以下報錯:“Another MySQL daemon already running with the same unix socket.” 解決辦法: [[email protected]
MySQL錯誤Another MySQL daemon already running with the same unix socket.
在國外網站發現的解決方法。 原因多個Mysql程序使用了同一個socket。 兩個方法解決: 第一個是立即關機 使用命令 shutdown -h now 關機,關機後在啟動,程序就停止了。 第二個直接把mysql.sock檔案改名即可。也可以刪除,推薦改名。 然後就可
Android studio 執行出現Error running app: This version of Android Studio is incompatible with the Gradle
執行專案的時候出現:Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run
php連線mysql時報錯The mysql extension is deprecated and will be removed in the future
首先 可以成功連線,但是會報錯, The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead。。。 如下: 意思很明顯了啊,mysql_connect在將來的
Domino console is inundated with the entry "Proces
ProblemDomino console is inundated with the entry "Process C:\Program Files\Symantec\Backup Exec\RAWS\belnapi.exe has terminated abnormally" ErrorProcess
Nearly the entire sky in the early universe is glowing with Lyman
Astronomers have long been accustomed to the sky looking wildly different at different wavelengths, but the extent of the observed Lyman-alpha emission wa
【梅關西,這是我的一個祕密,再簡單不過的祕密:一個人只有用心去看,才能看到真實。】And now here is my secret, a very simple secret. It is only with the heart that one can
And now here is my secret, a very simple secret. It is only with the heart that one can see rightly.
The full stack trace of the root cause is available in the server logs.
在寫javaweb時,執行操作資料庫程式碼時出現錯誤: 提示空指標異常,也就是出現了為空的地方,可以理解為引數未傳遞成功問題,看第一行提示:Beans.DbUtil.updateSQL(DbUtil.java:11) 意思為:Beans包下的DbUtil檔案的updateSQL方法出現問題
NOAUTH Authentication required redis(二) The server is ruuning without a config file
上次進行redis重啟後是可以正常運行了,但是由於工作太忙,而且測試環境一直在用,所以就沒有進行安全設定。直到昨天,一直處於被攻擊狀態,重啟了好幾次。無奈之下只能進行安全設定。 於是按照網
MySQL 8.0.12 報錯The table does not comply with the requirements by an external plugin. (errno 3098)
報錯資訊: panic: The table does not comply with the requirements by an external plugin. (errno 3098) (sql
【cas、spring-security】The error indicates the the CAS server is trying to post the single sign out re
場景: 配置jasig cas和spring security的,登出功能。tomcat報如下錯誤 The error indicates the the CAS server is trying to post the single sign out request to
This version of android studio is incompatible with the gradle version used.
問題背景 因為專案app分包需要,將工程的graddle版本升至了2.2.0 alpha4,而我的android studio 一向升級為最新版,於是就出現了題目中的報錯: Error running app: This version of Android Studio
This version of android studio is incompatible with the Gradle Plugin used
日誌資訊(Error running app) this version of android studio is incompatible with the Gradle Plugin used. Try disabling instant Run (of
The method iterator() is ambiguous for the type KafkaStream
slf4j 後來 pac upd 資料 keep bubuko 分享圖片 sse 最近在學習消息總線Kafka的時候,在IDEA中寫了一個簡單的生產者和消費者demo。但是消費者端一直報錯。錯誤信息如下: 1 ConsumerIterator<by