加入收藏 | 设为首页 | 会员中心 | 我要投稿 核心网 (https://www.hxwgxz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程 > 正文

ERROR 1290 HY000 解决方法

发布时间:2022-03-22 15:47:29 所属栏目:编程 来源:互联网
导读: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; +------+-------+ |
      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.01 sec)
 
     mysql> select * into outfile '/var/lib/mysql-files/update_testdbtest.txt' from update_test;
 
     Query OK, 2 rows affected (0.00 sec)

(编辑:核心网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    热点阅读