Comments (7)
Ah I see! I didn't catch that you were using the helm chart earlier. The mysql properties definitely look sound. I tried it out with the latest version of MySQL and didn't run into this issue, but can reproduce using version 5.7.40, like you said! Based on my research, I think the driver v5.1.48 and MySQL v5.7.40 disagree on security protocols. For compatibility reasons the driver doesn't enable TLSv1.2 and higher by default. A workaround here would be to add the below option to your mysql connection string in the properties:
connection-url=jdbc:mysql://X.X.X.X:3306?enabledTLSProtocols=TLSv1.2&serverTimezone=UTC
Hopefully that does the trick!
from presto.
Thanks for your help! I successfully solved the trick when I added the configuration. ^_^
from presto.
If I want to use MYSQL database version 5.7 is there any way to solve this problem?
from presto.
Hi @clown-k - I have a few follow-up questions for you! Are you submitting your query using the presto CLI? Also, just to clarify, you mention a MySQL version of 5.7 - is that the version of your actual MySQL database? If the answer to both of these is yes, we should probably take a look at your mysql.properties
file to see what the error might be
from presto.
Hi @kiersten-stokes - I created mysql.properties
using values.yaml
of the official Chart.
#Catalogs
catalog:
mysql: |-
connector.name=mysql
connection-url=jdbc:mysql://X.X.X.X:3306?serverTimezone=UTC
connection-user=X
connection-password=X
The configuration file actually generated in Pod:
$ cat /opt/presto-server/etc/catalog/mysql.properties
connector.name=mysql
connection-url=jdbc:mysql://X.X.X.X:3306?serverTimezone=UTC
connection-user=X
connection-password=X
from presto.
I don't think mysql.properties
is erroneous. Because mysql-connector-java-5.1.48.jar
is used in /opt/presto-server/plugin/mysql/
, and when I use version 5.1.48 of MYSQL database(not on the k8s), it works.
from presto.
@clown-k glad to hear it!
from presto.
Related Issues (20)
- Consider combining AbstractVariableWidthBlock and VariableWidthBlock HOT 1
- Change OrcBatchPageSource.isRowNumberList to IntOpenHashSet or boolean[]
- Add Presto sidecar process type
- Presto CLI console printer cannot handle UTF-8 characters
- HiveColumnHandle should be able to recognize row numbers
- ImmutableList.of() --> Collections.emptyList() HOT 11
- Update home page Readme to include setup and general info/benchmarks about Presto HOT 1
- Security Vulnerability Detected in org.eclipse.jetty packages
- Security Vulnerability in guava
- Flaky CI behaviour due to 'yarn' failed HOT 1
- Upgrade Jetty Version to Align with Airlift HTTP Client and Server Updates to Address Security Vulnerabilities
- IcebergDistributedSmokeTestBase.testRegisterTable is flaky
- [Native] The "Extra Credentials" API is not available to Prestissimo/Velox connectors HOT 9
- Opinion on primitive block implementation with chunks instead of a single value arrays HOT 2
- Release 0.288
- presto-main suite failed with Could not download Node.js HOT 3
- TestIcebergSmokeRest AbstractTestIntegrationSmokeTest.testSelectInformationSchemaColumns flaked
- Clarify Presto C++ documentation to include required coordinator configuration properties HOT 1
- Abnormal data display when using offset and limit HOT 1
- Issue while initializing Database based Resource Group Manager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from presto.