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

关于demo如何启动并实现操作数据库 #44

Open
luobingbing0207 opened this issue May 13, 2020 · 10 comments
Open

关于demo如何启动并实现操作数据库 #44

luobingbing0207 opened this issue May 13, 2020 · 10 comments

Comments

@luobingbing0207
Copy link

您好。。作者大大,我下载了您的demo,运行了之后
Microsoft.Hosting.Lifetime: Information: Now listening on: http://[::]:8188
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
不会自动弹出网页哎。。并且域名也没有弹出来,。,是我打开的方式不对么???或者能否出一个demo的详细版本分析资料呀。。。。因为工作需要,我需要netcore链接sqlserver和oracle数据库呢,。在线等,大佬

@VictorTzeng
Copy link
Owner

8188是监听端口,可以在Program.cs里面修改。项目启动后,直接在浏览器输入http://localhost:8188/访问即可。 @luobingbing0207

@luobingbing0207
Copy link
Author

好的呢。。谢谢大佬。。对了。。大佬。。 "MsSqlServer": "initial catalog=NetCoreDemo;data source=.;password=123456;User id=sa;MultipleActiveResultSets=True",
"PostgreSQL": "User ID=postgres;Password=123456;Host=localhost;Port=5432;Database=ZxwPgDemo;Pooling=true;",
"Redis": "127.0.0.1:6379,abortConnect=false,connectRetry=3,connectTimeout=3000,defaultDatabase=1,syncTimeout=3000,version=3.2.100,responseTimeout=3000",
"MySQL": "Server=localhost;Database=test; User ID=test;Password=123456;port=19800;CharSet=utf8;pooling=true;"
哪一个是sqlserver的呀??

@VictorTzeng
Copy link
Owner

MsSqlServer

@luobingbing0207
Copy link
Author

那么我该在哪里去 讲 访问的 数据库源换成sqlserver呢???能否同时链接sqlserver和oracle?感谢大佬

@VictorTzeng
Copy link
Owner

你可以先研究一下,下班了我回去新建个分支写个demo哈

@luobingbing0207
Copy link
Author

好的呢。。谢谢大佬啦。。么么哒

@luobingbing0207
Copy link
Author

大佬大佬。。。demo上传了木有呀。。在线等。。

@VictorTzeng
Copy link
Owner

大佬大佬。。。demo上传了木有呀。。在线等。。

==,昨晚遇到了些问题,没解决完。估计今晚可以commit

@luobingbing0207
Copy link
Author

....在线等,大佬

@VictorTzeng
Copy link
Owner

....在线等,大佬

拉取multi-db分支

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