i also tried
<dependency>
<groupId>com.google.cloud.sql</groupId>
<artifactId>mysql-socket-factory</artifactId>
<version>1.0.1</version>
</dependency>
and configured app.yaml
runtime: java
vm: true
handlers:
- url: /.*
script: this field is required, but ignored
secure: always # Require HTTPS
# [START env_variables]
env_variables: # Logging options
JAVA_OPTS: >-
-D.level=INFO
SQL_URL: jdbc:mysql://google/db?cloudSqlInstance=projectInstanceId:us-
central1:dbInstance&socketFactory=com.google.cloud.sql.mysql.SocketFactory&
user=root&password=xxxxxxx
# [END env_variables]
# [END runtime]
runtime_config: # Optional
jdk: openjdk8
server: jetty9
beta_settings:
cloud_sql_instances: "projectInstanceId:us-central1:dbInstance"
it again not connecting with db and through
WARN: HHH000342: Could not obtain connection to query metadata : No
suitable driver found for jdbc:google:mysql://xxxxxxxxxxxx
org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable
to resolve name [org.hibernate.dialect.MySQL5Dialect?] as strategy [org.
hibernate.dialect.Diect]
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/dc6e13bb-cad4-465c-b323-6934a241d677%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.