Skip to content

Commit 3a6f59b

Browse files
Docs: Add MYSQL_PORT configuration option to README
1 parent 837877d commit 3a6f59b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ pip install mysql-mcp-server
2222
Set the following environment variables:
2323

2424
```bash
25-
MYSQL_HOST=localhost
25+
MYSQL_HOST=localhost # Database host
26+
MYSQL_PORT=3306 # Optional: Database port (defaults to 3306 if not specified)
2627
MYSQL_USER=your_username
2728
MYSQL_PASSWORD=your_password
2829
MYSQL_DATABASE=your_database
@@ -47,6 +48,7 @@ Add this to your `claude_desktop_config.json`:
4748
],
4849
"env": {
4950
"MYSQL_HOST": "localhost",
51+
"MYSQL_PORT": "3306",
5052
"MYSQL_USER": "your_username",
5153
"MYSQL_PASSWORD": "your_password",
5254
"MYSQL_DATABASE": "your_database"

0 commit comments

Comments
 (0)