New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ship Google cloud (GCP) socket factories for MySQL and Postgres with Metabase #27117
Comments
See also #27116. To use this for MySQL for data warehouse databases we'll want to address that issue first |
Hi @camsaul is there a ticket on google side which report what is breaking ? should i ask myself ? |
I don't know if there's an upstream ticket, if you want to open one that would be great! |
Hi @camsaul and @paoliniluis, I'm coming from #28044 but I don't really agree those are linked. This issue states:
Mine is: I'm not even sure SocketFactory is involved. As metabase use MariaDB jdbc driver (alias MariaDB Connector/J), unix socket to the local machine is included. You just need those JNA deps according to the documentation. (example with phpstorm if you don't include them: https://youtrack.jetbrains.com/issue/DBE-13645/JDBC-connection-to-local-MariaDB-socket-verified-shell-command-line-FAILs-from-within-Idea-IDE-FAILED-connect-The-address-cant). BigQuery should not be a problem to local unix socket. Could anyone confirm? |
Hi @camsaul and @paoliniluis, Just to say that when you do:
and then build, you can use local unix socket connection to MySQL/MariaDB. If the It solve #28044 that has been closed to link it here. Regards, |
I'll leave the response to @camsaul here as adding dependencies to the project needs a holistic approach |
I've reopened #28044, it should be a separate issue since this is Google Cloud specific |
Creating this meta-issue to track shipping
com.google.cloud.sql.mysql.SocketFactory
(com.google.cloud.sql/mysql-socket-factory
) andcom.google.cloud.sql/postgres-socket-factory
with Metabase.We tried to do this in #19302 and #25345 but had to revert it in #23976 because it broke BigQuery support. We can't really do anything about this until Google fixes their own stuff so their socket factories don't break BigQuery support if they're used together. But I'm opening this issue so we have a central place to track this problem going forward so we can close out other stuff that's only tangentially related to solving this specific problem.
The text was updated successfully, but these errors were encountered: