官网下载:Download | DBeaver Community
网盘下载:链接: https://pan.baidu.com/s/15fAhbflHO-AGc-uAnc3Rjw?pwd=brz9 提取码: brz9
下载驱动
连接测试
报错
null, message from server: "Host '172.17.0.1' is not allowed to connect to this MySQL server"
原因
Starting with MySQL 8 you no longer can (implicitly) create a user using the GRANT
command. Use CREATE USER instead, followed by the GRANT statement:
mysql> CREATE USER 'root'@'%' IDENTIFIED BY 'PASSWORD';
mysql> GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
问题解决,出现新的问题
加上useSSL=false&allowPublicKeyRetrieval=true 参数连接成功
jdbc:mysql://localhost:3308?useSSL=false&allowPublicKeyRetrieval=true