Cannot instantiate Mysql connection
Posted by
Flavio Pompermaier on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Cannot-instantiate-Mysql-connection-tp1506.html
Hi to all,
I'm using a fresh build of flink-0.9-SNAPSHOT and in my flink job I set up a mysql connection.
When I run the job from Eclipse everything is fine,
while when running the job from the Web UI I get the following exception:
java.sql.SQLException: No suitable driver found for jdbc:mysql:/localhost:3306/mydb?autoReconnect=true
at java.sql.DriverManager.getConnection(DriverManager.java:596)
at java.sql.DriverManager.getConnection(DriverManager.java:215)
How can I fix that?
Best,
Flavio