We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8412fe8 commit 254dae0Copy full SHA for 254dae0
java/example/src/main/java/io/vitess/example/MysqlJDBCExample.java
@@ -109,7 +109,7 @@ private static void readData(Connection conn) throws SQLException {
109
}
110
111
private static void validateReplica(Connection conn) throws SQLException {
112
- String sql = "show slave status";
+ String sql = "show replica status";
113
try (Statement stmt = conn.createStatement(); ResultSet rs = stmt.executeQuery(sql)) {
114
if (!rs.next()) {
115
throw new RuntimeException("connected to wrong tablet");
0 commit comments