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

在注册用户时输入账号密码,点击确认,数据库连接出现错误,请问是啥原因 #84

Open
incrisp opened this issue May 9, 2023 · 11 comments

Comments

@incrisp
Copy link

incrisp commented May 9, 2023

QQ截图20230509212210
QQ截图20230509212754

@incrisp incrisp closed this as completed May 10, 2023
@incrisp incrisp reopened this May 10, 2023
@yy2511
Copy link

yy2511 commented May 16, 2023

哥们儿,我想问一下,怎么才能在vscode上跑这个代码啊?我现在只是用vscode连接虚拟机看代码,每次运行代码还有调试都是在虚拟机上弄得,挺麻烦的。

@CYiFei
Copy link

CYiFei commented May 18, 2023

哥们儿你怎么到这个界面的,我直接http://ip:port到不了这个界面提示File NotFound!

@incrisp
Copy link
Author

incrisp commented May 18, 2023

@yy2511
0
1

@incrisp
Copy link
Author

incrisp commented May 18, 2023

@CYiFei 可能有电脑防火墙把

@yy2511
Copy link

yy2511 commented May 18, 2023

@yy2511 0 1

感谢,可以了

@bigyellowyes
Copy link

请问你解决了吗

@incrisp
Copy link
Author

incrisp commented May 27, 2023

@bigyellowyes 是我傻了,需要创建数据库,并在main.cpp里边更改库名、密码、表名即可

@bigyellowyes
Copy link

@bigyellowyes 是我傻了,需要创建数据库,并在main.cpp里边更改库名、密码、表名即可
我也解决了,我是得用sudo运行服务器,一直搞不明白mysql的权限

@AylerH
Copy link

AylerH commented Oct 16, 2023

请问数据库名为yourdb,改成WebServer server(
1316, 3, 60000, false, /* 端口 ET模式 timeoutMs 优雅退出 /
3306, "root", "root", "yourdb", /
Mysql配置 ,webserver*/
12, 6, true, 1, 1024); /* 连接池数量 线程池数量 日志开关 日志等级 日志异步队列容量 */注册还是报错,为什么呀

@shaojilin
Copy link

注意数据库“WebServer"大小写

@cgh170932
Copy link

哥们儿你怎么到这个界面的,我直接http://ip:port到不了这个界面提示File NotFound!

你解决了吗,我也是进去就是not found

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

7 participants