Wednesday, July 24, 2013

Local MySQL Instance not working from GAE version 1.8.0

Until Googe App Engine version 1.7.6 we where using  a Local MySQL Instance During Development;

https://developers.google.com/appengine/docs/java/cloud-sql/developers-guide?hl=nl

appengine-java-sdk/bin/dev_appserver.sh \ --jvm_flag=-Drdbms.server=local \ --jvm_flag=-Drdbms.driver=com.mysql.jdbc.Driver \ --jvm_flag=-Drdbms.url=jdbc:mysql://localhost:3306/yourdatabase?user=username"&"password=password

But from Googe App Engine version 1.8.0 this is not working anymore because the Java Development
Server's JDBC driver doesn't find the local MySql driver...

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

What happened after version 1.7.6?





--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/bf13c77c-96b7-4230-ac42-f90845679df2%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment