报错已经很明显了,select 1这个语句被显示是一个错误的语法。 在2.0.9.0版本中select 1还没有被支持,不过在2.0.10.0已经被支持。 在2.0.9.0中,可以将hikariCp的connectionTestQuery设置为select server_status ()来解决这个问题。
Some results have been hidden because they may be inaccessible to you
Show inaccessible resultsSome results have been hidden because they may be inaccessible to you
Show inaccessible results