
工具
qq_期许
不设限
展开
-
DataGrip导入csv报错[42000][1064] You have an error in your SQL syntax; check the manual that corresponds
问题现象DataGrip导入csv文件,勾选了First row is header后,提示如下错误信息:原因原因是,csv文件中有空列,勾选First row is header,而空列不能做列名,因此才会报错解决办法在Excel中打开,删除空列,再导入...原创 2021-04-11 01:03:13 · 1833 阅读 · 0 评论 -
DataGrip代码自动补齐功能“失效”解决办法
目录问题现象原因解决办法问题现象输入字段名,datagrip不提示自动补全原因schema名和表名相同但是具体详细原因我暂时还说不上来,但是你这么写是工具是会给你提示的解决办法更改表名或schema名,不让他俩一样或者在写SQL语句的时候在表名前加上schema名(以我的为例,appstore.appstore)...原创 2021-02-12 10:21:13 · 3082 阅读 · 0 评论 -
MySQL导入文件报错[HY000][1290] The MySQL server is running with the --secure-file-priv option so it cannot
问题现象:完整的报错信息:[HY000][1290] The MySQL server is running with the --secure-file-priv option so it cannot execute this statement原因:安装MySQL的时候限制了导入与导出的目录权限查看secure_file_priv该变量的设置:step1:打开MySQL终端MySQL 8.0 Command Line Client,输入如下命令: SHOW GLOBAL VARIABL原创 2021-01-23 14:53:02 · 1198 阅读 · 0 评论 -
DataGrip执行SQL语句提示“java.net.ConnectException: Connection refused: connect”
问题现象:选中SQL语句执行,出现如下提示:右键数据库名-properties,测试数据库连接,报错完整报错信息如下:[08S01] Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.java.net.ConnectException原创 2021-01-17 14:30:13 · 6105 阅读 · 2 评论 -
【工具】datagrip的SQL查询语句存放的位置
数据库名-右键-properties,如图:原创 2021-01-10 18:53:56 · 12781 阅读 · 3 评论