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

5.0升级6.2出错求助 #543

Open
shuomeng opened this issue May 4, 2018 · 10 comments
Open

5.0升级6.2出错求助 #543

shuomeng opened this issue May 4, 2018 · 10 comments
Labels

Comments

@shuomeng
Copy link

shuomeng commented May 4, 2018

5.0是用的mysql数据库,在windows powershell下使用siteserver backup命令后,提示错误如下:
the host localhost does not support ssl connections.

请问这是哪里出了差错?这本地主机备份跟SSL有啥关系?怎么需要支持SSL连接?

@starlying
Copy link
Contributor

MySql的DLL更新后需要再ConnectionString里面强制加上SSL信息。
修改一下web.config,在ConnectionString最后加上SslMode=none;
然后在运行命令试试

@shuomeng
Copy link
Author

shuomeng commented May 6, 2018

加上SslMode=none;后又有新的错误。如下:Incorrect table definition; there can be only one auto column and it must be defined as a key 在遍历第一个数据表“bairong_administrator”时就出现这样的错误。难道所有数据表都要手动去改动?

@starlying
Copy link
Contributor

在SQLSERVER数据库测试没问题,我们测试一下MYSQL

@shuomeng
Copy link
Author

shuomeng commented May 6, 2018

查了bairong_administrator的字段,已经是默认第一个字段UserName是主键的。也没有多出一个自动列来啊。

@shuomeng
Copy link
Author

shuomeng commented May 7, 2018

怎么样?可有结果?好想升级用6.2。

@starlying
Copy link
Contributor

确认是有问题,我们已经加到开发计划里面了

@starlying starlying added BUG and removed 待验证 labels May 7, 2018
@starlying starlying mentioned this issue May 7, 2018
35 tasks
This was referenced May 31, 2018
@starlying
Copy link
Contributor

已修复

@shuomeng
Copy link
Author

shuomeng commented Jul 2, 2018

@starlying 请教一下,仍然提示错误:error,config not exists. 这个怎么解决?是哪里的问题?web.config配置文件是5.0版的正常的啊。没做过什么改动的。

@starlying
Copy link
Contributor

是不是siteserver.exe backup命令没有在web.config对应的目录下运行?

@shuomeng
Copy link
Author

shuomeng commented Jul 2, 2018

@starlying 解决了,非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants