Class SendChangeDbPacket
- java.lang.Object
-
- org.mariadb.jdbc.internal.com.send.SendChangeDbPacket
-
public class SendChangeDbPacket extends Object
-
-
Constructor Summary
Constructors Constructor Description SendChangeDbPacket()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
send(PacketOutputStream pos, String database)
Send a COM_INIT_DB request to specify the default schema for the connection.
-
-
-
Method Detail
-
send
public static void send(PacketOutputStream pos, String database) throws IOException
Send a COM_INIT_DB request to specify the default schema for the connection.- Parameters:
pos
- Write outputStreamdatabase
- database name- Throws:
IOException
- if connection problem occur
-
-