zoukankan      html  css  js  c++  java
  • mysqldump: Got error: 1290

    测试mysqldump导出csv报了mysqldump: Got error: 1290,如下:

    C:Userszjhua>mysqldump -h192.168.2.22 -P3306 -uroot -p123456 -t zipkin --tables zipkin_spans --tab=abc
    mysqldump: Got error: 1290: "The MySQL server is running with the --secure-file-priv option so it cannot execute this statement" when executing 'SELECT INTO OUTFILE'

    说明导出csv是基于服务端的select into outfile的。--secure-file-priv选项设置了用于SELECT INTO OUTFILE和LOAD FROM FILE的目录。和oracle directory一个模式。

  • 相关阅读:
    Codeforces-754D Fedor and coupons
    LightOJ
    LightOJ
    LightOJ
    LightOJ
    POJ
    HDU
    HDU
    HDU-2159
    方法的重写
  • 原文地址:https://www.cnblogs.com/zhjh256/p/13697612.html
Copyright © 2011-2022 走看看