Skip to content
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

无法使用mysql的jdbc驱动连接 #14

Open
sd4324530 opened this issue Jan 6, 2022 · 3 comments
Open

无法使用mysql的jdbc驱动连接 #14

sd4324530 opened this issue Jan 6, 2022 · 3 comments

Comments

@sd4324530
Copy link

mysql-protocol这个模块启动后,客户端使用jdbc驱动进行连接,建立连接出现报错,分析是建立连接时,jdbc包会发送SET NAMES utf8命令,解析异常报错

@yuqi1129
Copy link
Owner

yuqi1129 commented Jan 6, 2022

I have not test the connection use JDBC Driver and would not support the syntax SET NAMES utf8, Feel free to to implement this sentence.

@qq1002517
Copy link

楼上的搞定给分享一下

@yuqi1129
Copy link
Owner

Change the Parser.jj and support SET NAMES utf8 sentence. that is enough, There is no need to implement it. you may need to be familiar with JavaCC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants