Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/database/9.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
Database Mathematica JDBC错误_Database_Jdbc_Wolfram Mathematica - Fatal编程技术网

Database Mathematica JDBC错误

Database Mathematica JDBC错误,database,jdbc,wolfram-mathematica,Database,Jdbc,Wolfram Mathematica,我试图在本地运行Mathematica程序(我没有编写)。我已经在另一台机器上运行了它(我没有设置) 我已经设置了必要的mysql数据库,但我一直遇到以下错误: JDBC::error: Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server

我试图在本地运行Mathematica程序(我没有编写)。我已经在另一台机器上运行了它(我没有设置)

我已经设置了必要的mysql数据库,但我一直遇到以下错误:

JDBC::error: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. >>
我不知道如何从Java获取任何嵌套异常,我可以使用我发送的user/pass连接到mysql


救命

您可以从相关机器连接到数据库吗?差不多

TracePrint[COMMANDHERE[], DatabaseLink`OpenSQLConnection[__]]

可能有助于了解正在使用的参数

我的第一个问题:这种行为在这台新机器上是可复制的吗?第二,如果你能告诉我们你使用的是哪个软件包,或者是哪个命令导致了这个消息,你就增加了获得帮助的机会。这个错误来自Mathematica中的DatabaseLink。我的类路径中没有mysql jar文件。谢谢