From Windows 10 Pro / Leap 15.4 using both MySQL Workbence / DBeaver CE I’m unable to connection to my Leap 15.4 used as a mysql server, will have multiple VM Web Servers connection to it. DBeaver is able to show log trying to connection, but I get these log messages:
Leap:
8/30/22 8:17 PM sshd Accepted password for nasheayahu from 10.60.70.10 port 58693 ssh2
8/30/22 8:17 PM systemd-logind New session 13 of user nasheayahu.
8/30/22 8:17 PM systemd Started Session 13 of User nasheayahu.
8/30/22 8:17 PM sshd pam_unix(sshd:session): session opened for user nasheayahu by (uid=0)
8/30/22 8:17 PM sshd error: connect_to mysqldbdev port 3306: failed.
8/30/22 8:17 PM sshd pam_unix(sshd:session): session closed for user nasheayahu
8/30/22 8:17 PM systemd session-13.scope: Deactivated successfully.
8/30/22 8:17 PM systemd-logind Session 13 logged out. Waiting for processes to exit.
8/30/22 8:17 PM systemd-logind Removed session 13.
DBeaver:
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
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.
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.
I tried using two different mysql users admindb and dbadmin:
with no success. Want to make changes to the mysql.cnf, but its not located in /etc/my.cnf.d to perhaps change the binding address to 0.0.0.0, so 1) where is it located and, 2) what other changes I need to do to get this working?
On my system the mysql config file is /etc/my.cnf .
However I use openSUSE Tumbleweed (but I guess it is the same with openSUSE Leap 15.4).
I have no idea how you produced this output so I can’t comment on it.
Please keep in mind that people reading your posts cannot look over your shoulder and see what you do on your system (nor can they read your mind). The only information they get is what you provide in your post.
So please always give a complete record of what you did: Show the command as you supplied it, the complete output produced by the command and the next empty prompt e.g.
> uname -a
Linux SYSTEM_01 5.19.2-1-default #1 SMP PREEMPT_DYNAMIC Thu Aug 18 05:06:49 UTC 2022 (6c252ef) x86_64 x86_64 x86_64 GNU/Linux
>
Comprehensive texts (or images) can be uploaded to https://paste.opensuse.org and the link shown here. Keep in mind: Not everybody trusts external sites that want to run scripts. So only use https://paste.opensuse.org.