--- G:/workspace/TestOnly/lib/mysql-connector-java-5.1.40-sources/com/mysql/jdbc/MysqlIO.java +++ G:/workspace/TestOnly/lib/mysql-connector-java-5.1.40-sources/com/mysql/jdbc/MysqlIO.java @@ -1787,9 +1787,6 @@ if (this.useConnectWithDb) { last_sent.writeString(database, enc, this.connection); - } else { - /* For empty database */ - last_sent.writeByte((byte) 0); } appendCharsetByteForHandshake(last_sent, enc);