Matlab Mysql remote connection fails
2 次查看(过去 30 天)
显示 更早的评论
Hi , I am using JDBC connector to connect to my remote mysql database. I have done the following : db_conn = database('db_name','db_user','password', ... 'com.mysql.jdbc.Driver', ... 'jdbc:mysql://MY_REMOTE_IP:3306/db_name') and then this returns the following : db_conn =
Instance: 'db_name'
UserName: 'db_user'
Driver: []
URL: []
Constructor: [1x1 com.mathworks.toolbox.database.databaseConnect]
Message: [1x97 char]
Handle: 0
TimeOut: []
AutoCommit: 'off'
Type: 'Database Object'
and if I check the connection using : isconnection(db_conn) it will return 0 ...
Any idea ?
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Database Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!