在重新安装了塑料SCM和MySQL之后,我尝试将数据库后端更改为MySQL,但始终得到以下错误。
The database rep_1 can't be created. Check the server log (plastic.server.log). Error: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. at Codice.CM.Data.BaseDataManager.CreateSingleRepository(Int64 repId)
at admintool.DatabaseCopier.Start()
at admintool.DatabaseMigrator.MigrateDatabases()
at admintool.DatabaseMigrator.Start()有什么想法吗?如何设置MySWL或Server?我有Sqlite工作,但需要切换。
发布于 2014-01-14 15:29:09
您的MySQL安装似乎正在抛出一个超时异常,一些想法:
如果您想尝试MySQL或SqlServer,您可以遵循以下教程,它非常容易,它不使用塑料SCM管理工具,但它更强大,因为您可以指定更多的参数:
回到您的问题,您可以尝试以下操作,我猜您的db.conf文件(在塑料SCM服务器目录中)现在正在尝试连接到MySQL (打开它并查看provider标签来检查它),然后尝试以控制台模式启动服务器,为此,打开一个管理命令行窗口,cd到塑料SCM服务器目录并键入:
"plasticd.exe --控制台“
你看到什么错误了吗?从不同的命令行窗口类型"cm“中,您能看到默认的回购吗?如果没有,请检查服务器日志(plasticd.log.txt)以找出问题。
或者,您可以发送所有您可以找到的日志(plasticd.log.txt)到塑料SCM论坛,www.plasticscm.net,社区和塑料SCM的家伙将在这方面帮助你。
https://stackoverflow.com/questions/21082485
复制相似问题