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

wrong result in cursor when url is localhost #14

Open
zbn1120 opened this issue Mar 19, 2025 · 5 comments
Open

wrong result in cursor when url is localhost #14

zbn1120 opened this issue Mar 19, 2025 · 5 comments

Comments

@zbn1120
Copy link

zbn1120 commented Mar 19, 2025

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
Copy link
Author

zbn1120 commented Mar 19, 2025

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

@designcomputer
Copy link
Owner

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.

@zbn1120 zbn1120 changed the title wrong result in cursor wrong result in cursor when url is localhost Mar 20, 2025
@liujin-r
Copy link

为什么我的显示这个

Image

@designcomputer
Copy link
Owner

@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.

@zbn1120
Copy link
Author

zbn1120 commented Mar 22, 2025

为什么我的显示这个

Image

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

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

3 participants