Hello sorry for late reply.

I tried with the recommended method. It now works (with g).  
However HikariConfig does not work. It continuesly throws exception. It 
only works when I connect normally (Using JDBC driver)
Do you have any idea why? 

DataSource pool = new HikariDataSource(config); //(Does not work)
conn = DriverManager.getConnection(url); //works

Both have the same configs and urls.


Thanks and regards. 

29 Temmuz 2019 Pazartesi 18:40:59 UTC+2 tarihinde Julie (cloud platform 
support) yazdı:
>
> This is the recommended method for connecting Cloud SQL with App Engine  
> <https://cloud.google.com/sql/docs/mysql/connect-app-engine>so if you are 
> not connecting as detailed please specify your connection method. If you 
> use 0.0.0.0/0 IP 
> <https://cloud.google.com/sql/docs/mysql/diagnose-issues#authorizing> 
> then the issue is unlikely due to configuration of the network as that IP 
> should allow any application to connect (this includes unauthorized ones, 
> which can cause a security issue). Please note that if you have sensitive 
> or proprietary data in your database, you should not use this method to 
> investigate connectivity issues. Please specify if any error messages 
> result from your attempt to connect, specifically any Stack driver logs 
> <https://cloud.google.com/logging/docs/view/overview>. Please remove any 
> sensitive or personal information such as cookies, passwords, email 
> addresses and credit card information before posting any 
> attachments/information. 
>
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/6df082dd-d080-4358-a483-e6df5723071c%40googlegroups.com.
  • [google-ap... Caglar Mehmet Metin
    • [goog... 'Julie (cloud platform support)' via Google App Engine
      • [... Caglar Mehmet Metin
        • ... 'Nicolas (Google Cloud Platform Support)' via Google App Engine

Reply via email to