Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/64.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何为OpenGTS初始化MySQL数据库表?_Mysql_Windows 7 - Fatal编程技术网

如何为OpenGTS初始化MySQL数据库表?

如何为OpenGTS初始化MySQL数据库表?,mysql,windows-7,Mysql,Windows 7,我正在尝试在我的系统上安装OpenGTS。我已成功安装了文档中给出的所有必需软件包。我被困在步骤: 4)初始化和安装测试 我正在尝试根据文档运行以下命令 bin\initdb.bat“-rootUser:userName”“-rootPass:userPass” 但我有以下例外: [ERROR|DBAdmin.execCommands:873] Exception: DB create error [jdbc:mysql://localh ost:3306/] org.opengts.dbtoo

我正在尝试在我的系统上安装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...

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

在为GTS创建表之前,我似乎必须启动MySQL demon。我的一个朋友帮我完成了这一步


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

我们可以有OpenGTS的标签吗?