Re: Neeed immediate HELP . help me pls it's verry important
Posted by: Kalin Kirilov
Date: November 03, 2004 07:07PM

Ok I have read the documentation.
I have downloaded and insttal 'mysql-4.1.7-essential-win' server and driver 'mysql-connector-java-3.1.4-beta'. Surver is worcking properly and the driver too. Now I need to connect to this surver via Matlab.
The command needed for this connecction is
'conn = database('dbname','user','pass','com.mysql.jdbc.Driver','URL')
ok now What must I type in these fields . I'v tried everithing.
I thing that right way is .
conn = database('mysql', 'root', 'my pass', 'com.mysql.jdbc.Driver','jdbc:odbc:mysql:@my ip.:3306')
or

conn = database('','root@localhost','mypass','com.mysql.jdbc.Driver','jdbc:mysql:@my ip:3306') Am I right or have mistace pls tell me .What must I type in these fields ????
See what Matlab returns:
Instance: 'mysql'
UserName: 'root@localhost'
Driver: []
URL: []
Constructor: [1x1 com.mathworks.toolbox.database.databaseConnect]
Message: [1x66 char]
Handle: 0
TimeOut: []
AutoCommit: 'off'
Type: 'Database Object'
If the connecction is valid I think that there must be something in the field -hendle
Tell me now pls what to type in these fields????

Options: ReplyQuote


Subject
Written By
Posted
Re: Neeed immediate HELP . help me pls it's verry important
November 03, 2004 07:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.