0

我正在尝试在我的系统上安装 OpenGTS。我已经成功安装了此处给出的文档中给出的所有必需的软件包。我被困在步骤:
4)初始化和安装测试 我正在尝试按照文档运行以下命令。

bin\initdb.bat "-rootUser:userName" "-rootPass:userPass"

但我得到以下例外:

[ERROR|DBAdmin.execCommands:873] Exception: DB create error [jdbc:mysql://localh
ost:3306/]
org.opengts.dbtools.DBException: JDBC Error [com.mysql.jdbc.exceptions.jdbc4.Com
municationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driv
er has not received any packets from the server.]
        at org.opengts.dbtools.DBC.. blah blah...

请告诉我在这个分步文档中我缺少什么。

4

1 回答 1

2

看来我必须先启动 MySQL 恶魔才能为 GTS 创建表。我的一个朋友帮我解决了这个问题,我可以完成这一步。

我们需要点击MySql安装的bin文件夹中的mysqld.exe。

于 2013-05-31T05:22:00.780 回答