Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Received OK when not querying or connecting, not sure what this is #302

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

Open
siddjain opened this issue Sep 14, 2022 · 2 comments
Open

Received OK when not querying or connecting, not sure what this is #302

siddjain opened this issue Sep 14, 2022 · 2 comments

Comments

@siddjain
Copy link

we get this error...warning when using this library (version 2.0.8) with MySQL 8.0

- WARN 65653 --- [netty-thread-10] c.g.jasync.sql.db.mysql.MySQLConnection  : <mysql-connection-101> Received OK when not querying or connecting, not sure what this is: OkMessage(affectedRows=0, lastInsertId=0, statusFlags=2, warnings=0, message=)

wondering if anyone has seen it as well

@oshai
Copy link
Contributor

oshai commented Sep 19, 2022

Can you share a full stacktrace?
Also it might be related to max idle config, or test config of the pool.

@siddjain
Copy link
Author

Hi, it just appears as a warning without a stacktrace. here is our config if it helps:

spring.config.activate.on-profile=local
spring.r2dbc.url=r2dbc:mysql://127.0.0.1:13306/xxx
spring.r2dbc.username=xxx
spring.r2dbc.password=xxx
spring.r2dbc.pool.initial-size=100
spring.r2dbc.pool.max-size=500
spring.r2dbc.pool.max-idle-time=30m
spring.r2dbc.pool.validation-query=SELECT 1

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

2 participants