MySQLProtocol is a protocol to communicate with MySQL server. It provides a way to authenticate, reset sequence id, and close the connection.
Type parameters
- F
-
the effect type
Attributes
- Companion
- object
- Source
- MySQLProtocol.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class MySQLProtocolImpl[F]
Members list
Value members
Abstract methods
Authenticates the user with the given password.
Authenticates the user with the given password.
Value parameters
- allowPublicKeyRetrieval
-
whether to allow public key retrieval
- capabilitiesFlags
-
Values for the capabilities flag bitmask used by the MySQL protocol.
- database
-
Database used for login
- password
-
the password
- useSSL
-
whether to use SSL
- user
-
the user name
Attributes
- Source
- MySQLProtocol.scala
Creates a client prepared statement with the given SQL.
Creates a client prepared statement with the given SQL.
Value parameters
- sql
-
SQL queries based on text protocols
Attributes
- Source
- MySQLProtocol.scala
Closes the connection.
Returns the initial packet.
Resets the sequence id.
Creates a server prepared statement with the given SQL.
Creates a server prepared statement with the given SQL.
Value parameters
- sql
-
SQL queries based on text protocols
Attributes
- Source
- MySQLProtocol.scala
Creates a statement with the given SQL.
Creates a statement with the given SQL.
Value parameters
- sql
-
SQL queries based on text protocols
Attributes
- Source
- MySQLProtocol.scala