I have recently gotten an SSL certificate for my website and have successfully implemented it. The certificate shows up when I go to my website and now I have been trying to set up MySQL within the same server. I know this isn’t the most efficient way but the project I am doing this for is very small scale. I changed the mysql.conf file to bind to 0.0.0.0. I try to login where host is my IP address but it will not allow me. The response is
ERROR 1130 (HY000): Host ‘XXX.XXX.XXX.XXX’ is not allowed to connect to this MySQL server
I went to mysql to check ssl status and I get this
±--------------±----------------+ | Variable_name | Value | ±--------------±----------------+ | have_openssl | YES | | have_ssl | YES | | ssl_ca | ca.pem | | ssl_capath | | | ssl_cert | server-cert.pem | | ssl_cipher | | | ssl_crl | | | ssl_crlpath | | | ssl_key | server-key.pem |
But when I do \s I get “SSL: Not in use”
I’m not sure why it is saying SSL is not in use but I think that is why my secure IP address will not allow access to mysql. Does anyone know how to fix this or what else might be the problem?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!