problem in connecting MAtlab to remote Mysql Database

1 view (last 30 days)
hello sir i am working on connecting the MAtlab to another remote machine using Mysql (using Wamp Server) and i am not able to connect to do so..
i am getting the error saying:
Instance: 'easyparker'
UserName: 'root'
Driver: []
URL: []
Constructor: [1x1 com.mathworks.toolbox.database.databaseConnect]
Message: 'JDBC Driver Error: com.mysql.jdbc.Driver. Driver Not Found/Loaded.'
Handle: 0
TimeOut: []
AutoCommit: 'off'
Type: 'Database Object'
COuld you help me on this problem ? thank you

Answers (1)

Jayendra Sodha
Jayendra Sodha on 11 Aug 2018
Sir, I am getting the following error:-
"Sat Aug 11 15:55:03 IST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification."
I am too using the Wamp Server. My code is:- conn = database('divya','root','','Vendor','MySQL','Server','localhost');
What to do?

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!