Class SendChangeDbPacket
java.lang.Object
org.mariadb.jdbc.internal.com.send.SendChangeDbPacket
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsend(PacketOutputStream pos, String database) Send a COM_INIT_DB request to specify the default schema for the connection.
-
Constructor Details
-
SendChangeDbPacket
public SendChangeDbPacket()
-
-
Method Details
-
send
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
-