DBeaver error Communication link failure

Published - Updated

DBeaver Communication Link Failure

Help! DBeaver fails to connect to local MySQL database with the error “Communication link failure”.

The problem isn’t with DBeaver, in fact, if you installed another MySQL GUI tool, this issue would still occur.

The solution below is for Linux systems and Windows systems running WSL. This post also assumes you already have the correct database drivers installed and have already created the MySQL connection.


nano /etc/mysql/my.conf

At the bottom of the file add the following lines:

port=3306 # or any other port

Now restart MySQL:

/etc/init.d/mysql restart

Remember to update your connect within DBeaver to the same port you specified above. DBeaver will connect on port 3306 by default.