Skip to content

DataGrip - FAQ

[08S01] Communications link failure
The last packet successfully received from the server was 193 milliseconds ago. The last packet sent successfully to the server was 172 milliseconds ago. No appropriate protocol (protocol is disabled or cipher suites are inappropriate).

useSSL 更改为 false , 如果不可以再改成 no 就可以正确连接

2. 不同的版本数据库的默认 DDL 的猜想

这里是仅仅猜想两个不同版本数据库对于默认 ddl 的默认值, 不作为最后的确定知识点

Mysql 5.7

这里的默认值是 0

sql
create table pam_ban
(
    ...
    ip_start     bigint unsigned default 0      not null comment '起始IP',
    ...
);

对于 8.0 这里的默认值是 '0'

sql
create table pam_ban
(
    ...
    ip_start     bigint unsigned default '0'    not null comment '起始IP',
    ...
)

说明

创建时间: 2023-01-15 00:30:00 , 最后编辑于 2023-11-25 14:39:00