我正在尝试将Oracle数据库连接到Mathematica 8。另一个问题已经说明了如何在MySQL数据库中实现,但对我来说不起作用。
以下信息可在我的桌面上找到:
有人知道我怎么连接或继续吗?
Needs["DatabaseLink"] AND conn = OpenSQLConnection[JDBC["MySQL(Connector/J)",
"yourserver/yourdatabase"], "Username" -> "yourusername", "Password" -> "yourpassword"]
以下信息可在我的桌面上找到:
filepath = "C:\oracle\ora92\network\ADMIN\tnsnames.ora"; HOST; PORT; username; password;
conn = OpenSQLConnection[JDBC["MySQL(Connector/J)", HOST], "Username" -> username, "Password" -> password]
Error message: 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. >>
有人知道我怎么连接或继续吗?
myserver:1521:SID
。 - WReach