mysql_mcp_server icon indicating copy to clipboard operation
mysql_mcp_server copied to clipboard

wrong result in cursor when url is localhost

Open zbn1120 opened this issue 9 months ago • 5 comments

Image as the image showed, I have configured mysql_mcp_server in cursor, but when i execute sql, select * from user there is nothing but the error

Image

zbn1120 avatar Mar 19 '25 06:03 zbn1120

Because host of mysql can not be set as localhost or 127.0.0.1 ?

zbn1120 avatar Mar 19 '25 06:03 zbn1120

It can be localhost (127.0.0.1) if a server is running on your local machine and something's not blocking the port. I use XAMPP from https://www.apachefriends.org/ to provide MariaDB and it seems to work well.

designcomputer avatar Mar 19 '25 20:03 designcomputer

为什么我的显示这个

Image

liujin-r avatar Mar 21 '25 18:03 liujin-r

@liujin-r When I get some free time, I'll be happy to check Cursor for you, but both localhost and 127.0.0.1 work when mysql_mcp_server is used with the Claude app. The Claude app is the de facto standard for MCP because they invented the protocol.

designcomputer avatar Mar 21 '25 19:03 designcomputer

为什么我的显示这个

Image

cursor的这个显示比较奇怪,你让右边的按钮显示enabled就是开启了@liujin-r

zbn1120 avatar Mar 22 '25 00:03 zbn1120