Skip to main content

Connection Refused MySQL

https://chatgpt.com/share/67b548c2-8cc8-8013-ab45-89a4457eed65

1. sudo nano /etc/my.cnf
>     ensure bind address = 0.0.0.0 
>     sudo systemctl restart mysql

ensure # skip-networking is commented
ensure #block_encryption_mode and check ssl version compatible with the mysql version or not.

2.MySQL may block connections if require_secure_transport is enabled but the client isn't using SSL. (usually for staging server KPDN )
> Update my.cnf file require_secure_transport = OFF