public class SendChangeDbPacket extends Object
Constructor and Description |
---|
SendChangeDbPacket() |
Modifier and Type | Method and Description |
---|---|
static void |
send(PacketOutputStream pos,
String database)
Send a COM_INIT_DB request to specify the default schema for the connection.
|
public static void send(PacketOutputStream pos, String database) throws IOException
pos
- Write outputStreamdatabase
- database nameIOException
- if connection problem occurCopyright © 2019 mariadb.org. All rights reserved.