mysql_mcp_server
mysql_mcp_server copied to clipboard
是bug吗?
config = {
"host": os.getenv("MYSQL_HOST", "localhost"),
"port": int(os.getenv("MYSQL_PORT", "3306")),
"user": os.getenv("MYSQL_USER"),
"password": os.getenv("MYSQL_PASSWORD"),
I have not tested with Cline. Have you tried creating a simple example using just the Claude App to see if the environment variable gets passed correctly?
我看代码是读取环境变量的?为啥不生效呢? config = {
"host": os.getenv("MYSQL_HOST", "localhost"),
"port": int(os.getenv("MYSQL_PORT", "3306")),
"user": os.getenv("MYSQL_USER"),
"password": os.getenv("MYSQL_PASSWORD"),
Your understanding is wrong. The IP in the red part is the IP of your computer, which means that the account or password for your database connection is wrong. You can copy the complete error to openai to see, haha
我看代码是读取环境变量的?为啥不生效呢?
config = {