We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a1a7a9 commit 837877dCopy full SHA for 837877d
src/mysql_mcp_server/server.py
@@ -17,6 +17,7 @@ def get_db_config():
17
"""Get database configuration from environment variables."""
18
config = {
19
"host": os.getenv("MYSQL_HOST", "localhost"),
20
+ "port": int(os.getenv("MYSQL_PORT", "3306")),
21
"user": os.getenv("MYSQL_USER"),
22
"password": os.getenv("MYSQL_PASSWORD"),
23
"database": os.getenv("MYSQL_DATABASE")
0 commit comments