加入收藏 | 设为首页 | 会员中心 | 我要投稿 云计算网_泰州站长网 (http://www.0523zz.com/)- 视觉智能、AI应用、CDN、行业物联网、智能数字人!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

ERROR 1290 HY000 解决方法

发布时间:2022-03-22 22:15:02 所属栏目:MySql教程 来源:互联网
导读: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)

(编辑:云计算网_泰州站长网)

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

    热点阅读