Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional config needed when connecting to older MySQL version #16

Open
kirikorneev opened this issue Mar 20, 2025 · 3 comments
Open

Comments

@kirikorneev
Copy link

I am running a MySQL instance with 5.7 version. When trying to connect to it I was getting SSL connection errors (because of TLS stuff, ChatGPT told me) so I had to adjust the config code:

"ssl_disabled": True,
"allow_local_infile": True

Is it possible to add an env var for it, something like MYSQL_DISABLE_SSL?

@designcomputer
Copy link
Owner

The mysql_mcp_server doesn't include SSL internally, so there is no need for a flag to disable it. When required, users can tunnel SSL with a modular tool like PuTTY.

@kirikorneev
Copy link
Author

The mysql_mcp_server doesn't include SSL internally, so there is no need for a flag to disable it. When required, users can tunnel SSL with a modular tool like PuTTY.

Without disabling it, I was getting this error:
Error executing query: 2026 (HY000): SSL connection error: error:0A000102:SSL routines::unsupported protocol

@designcomputer
Copy link
Owner

Maybe you were trying to connect to a port that expected SSL. The mysql_mcp_server doesn't include SSL support of any kind.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants