I am trying to connect to MySQL database with the following code in Matlab, but I am getting the error message
"No suitable driver found for jdbc:mysql://mydatabasehost.amazonaws.comMyDatabase"
databaseName = 'MyDatabase';
username = 'myusername';
password = 'mypassword';
jdbcDriver = 'com.mysql.jdbc.Driver';
server = ' jdbc:mysql://mydatabasehost.amazonaws.com';
conn = database(databaseName, username, password, jdbcDriver, server);
I am using Matlab R2012 (64bit). I have already downloaded and installed the JDBC connector for Windows from http://dev.mysql.com/downloads/connector/j/ I have added it to classpath.txt of Matlab (alternatively use javaaddpath(location of the jdbc driver). Am I missing a step?