SQLContainer MySQL Connection Problems

Hi,
I’m new to Vaadin.

I want to get a connection to Amazon Relational Data Store or do you know an other good Relational Database ?
I have an error and can’t solve it.
My Code:
JDBCConnectionPool pool = new SimpleJDBCConnectionPool(
" com.mysql.jdbc.Driver",
“url to databse”, “Username”, “password”, 2, 5);
TableQuery tq = new TableQuery(“user”, pool);
tq.setVersionColumn(“OPTLOCK”);
FreeformQuery query = new FreeformQuery(
“SELECT * FROM USER”, pool, “Username”);
SQLContainer container = new SQLContainer(query);
layout.addComponent(new Label((String) container.getIdByIndex(1)));

Error:

java.lang.RuntimeException: Specified JDBC Driver: com.mysql.jdbc.Driver - initialization failed.

Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

I add the mysql-connector.jar into my Web-Inf/lib folder and also add the jar to my build path.
I run the application at google app engine.

Thanks for help.

Never used Google App Engine, so my apologies if this is stupid. :wink:

Have you tried Vaadin + SQL before (without Google’s App Engine)? I’d read through and try this:
https://vaadin.com/book/-/page/sqlcontainer.html
, and see if that works.

If not, then perhaps this might help:
https://vaadin.com/forum#!/thread/1678324
.

As far as I know, Google App Engine does not allow direct connections to external SQL databases. Only http connectivity is provided.

One option could be the Google Cloud SQL service they provide, but I have no experience with that.