Skip to content

Commit da01744

Browse files
committed
Merge pull request #11981 from eiselems:1.5.xMysqlValidationQuery
* pr/11981: Update MySQL validation query to use lightweight ping Polish Reinject mocks when context is dirtied before each method Polish “Prevent reverse name lookup when configuring Jetty's address” Prevent reverse name lookup when configuring Jetty's address Fixup version numbers following release Next Development Version Protect against symlink attacks All CLI support for Windows MINGW environments Polish
2 parents 798522d + 37ce178 commit da01744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot/src/main/java/org/springframework/boot/jdbc/DatabaseDriver.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public enum DatabaseDriver {
6767
* MySQL.
6868
*/
6969
MYSQL("MySQL", "com.mysql.jdbc.Driver",
70-
"com.mysql.jdbc.jdbc2.optional.MysqlXADataSource", "SELECT 1"),
70+
"com.mysql.jdbc.jdbc2.optional.MysqlXADataSource", "/* ping */ SELECT 1"),
7171

7272
/**
7373
* Maria DB.

0 commit comments

Comments
 (0)