【问题标题】:Plastic SCM MySQL Setup塑料单片机 MySQL 设置
【发布时间】:2014-01-13 01:11:48
【问题描述】:

全新安装 Plastic 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 或 SQL Server?我有 Sqlite 工作,但需要切换。

【问题讨论】:

    标签: mysql sql sql-server plasticscm


    【解决方案1】:

    您的 MySQL 安装似乎抛出了超时异常,一些想法:

    • 是否为您指定的用户授予访问权限???
    • 尝试更改 IP 的服务器名称(有时 DNS 会做一些丑陋的事情),或者如果您指定了 IP 或本地主机,请尝试指定机器名称。
    • 查看服务器日志以获取更多信息 (plasticd.log.txt)

    如果你想尝试 MySQL 或 SqlServer,你可以按照以下教程进行操作,非常简单,它不使用 Plastic SCM 管理工具,但它更强大,因为你可以指定更多参数:

    回到您的问题,您可以尝试以下操作,我猜您的 db.conf 文件(在 Plastic SCM 服务器目录中)现在正在尝试连接到 MySQL(通过打开它并查看提供程序标签来检查它) ,然后尝试以控制台模式启动服务器,为此,打开一个管理命令行窗口,cd 到 Plastic SCM 服务器目录并输入:

    “plasticd.exe --console”

    您是否发现任何错误?从不同的命令行窗口输入“cm lrep”,你能看到默认的 repo 吗?如果没有,请查看服务器日志 (plasticd.log.txt) 以找出问题。

    或者,您可以将所有可以找到的日志 (plasticd.log.txt) 发送到 Plastic SCM 论坛 www.plasticscm.net 社区,Plastic SCM 人员会在这方面为您提供帮助。

    【讨论】:

    • 我决定使用 SqlServer。全部设置成功。谢谢。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多