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

Is MariaDbDataSource buggy with network timeout support? #935

Closed
mohsen opened this issue Jul 16, 2017 · 3 comments
Closed

Is MariaDbDataSource buggy with network timeout support? #935

mohsen opened this issue Jul 16, 2017 · 3 comments

Comments

@mohsen
Copy link

mohsen commented Jul 16, 2017

This note is put on project homepage:

MySQL and MariaDB DataSources are known to be broken with respect to network timeout support. Use jdbcUrl configuration instead

org.mariadb.jdbc.MySQLDataSource is now deprecated in favor of org.mariadb.jdbc.MariaDbDataSource. Does the issue persist? If yes please also mention org.mariadb.jdbc.MariaDbDataSource in README.

@brettwooldridge
Copy link
Owner

Do me a favor, look at the source of that class, at the setNetworkTimeout() method. If it doesn't do anything, it's still an issue.

@zimmi
Copy link

zimmi commented Jul 16, 2017

I went ahead and checked and it turns out it does something useful.
The protocol instance does something useful as well.

@brettwooldridge
Copy link
Owner

@zimmi Project page updated.

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