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

是bug吗? #8

Open
ocean-zhc opened this issue Mar 3, 2025 · 1 comment
Open

是bug吗? #8

ocean-zhc opened this issue Mar 3, 2025 · 1 comment

Comments

@ocean-zhc
Copy link

ocean-zhc commented Mar 3, 2025

Image 我看代码是读取环境变量的?为啥不生效呢?
config = {

"host": os.getenv("MYSQL_HOST", "localhost"),

"port": int(os.getenv("MYSQL_PORT", "3306")),

"user": os.getenv("MYSQL_USER"),

"password": os.getenv("MYSQL_PASSWORD"),
@designcomputer
Copy link
Owner

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?

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

2 participants