# 2 - Text Protocol

- [COM\_CHANGE\_USER](/docs/server/reference/clientserver-protocol/2-text-protocol/com_change_user.md): This command allows a connected client to re-authenticate as a different user without closing and reopening the connection.
- [COM\_CREATE\_DB](/docs/server/reference/clientserver-protocol/2-text-protocol/com_create_db.md): This command creates a new database on the server, functionally equivalent to the SQL statement CREATE DATABASE.
- [COM\_DEBUG](/docs/server/reference/clientserver-protocol/2-text-protocol/com_debug.md): This command forces the server to dump debug information to the standard output or log, requiring the SUPER privilege.
- [COM\_DROP\_DB](/docs/server/reference/clientserver-protocol/2-text-protocol/com_drop_db.md): This command drops an existing database from the server, functionally equivalent to the SQL statement DROP DATABASE.
- [COM\_FIELD\_LIST](/docs/server/reference/clientserver-protocol/2-text-protocol/com_field_list.md): This command retrieves a list of fields (columns) for a specified table, similar to the SHOW COLUMNS SQL statement.
- [COM\_INIT\_DB](/docs/server/reference/clientserver-protocol/2-text-protocol/com_init_db.md): This command selects the default database for the current connection, functionally equivalent to the USE statement.
- [COM\_PING](/docs/server/reference/clientserver-protocol/2-text-protocol/com_ping.md): This command checks if the server is alive and reachable, the server responds with an OK packet if it is running.
- [COM\_PROCESSLIST](/docs/server/reference/clientserver-protocol/2-text-protocol/com_processlist.md): This command retrieves a list of active threads and their current status, similar to the SHOW PROCESSLIST statement.
- [COM\_PROCESS\_KILL](/docs/server/reference/clientserver-protocol/2-text-protocol/com_process_kill.md): This command asks the server to terminate a specific connection thread, functionally equivalent to the KILL statement.
- [COM\_QUERY](/docs/server/reference/clientserver-protocol/2-text-protocol/com_query.md): This command sends an SQL statement to the server for execution immediately, without the prepare/execute steps.
- [COM\_QUIT](/docs/server/reference/clientserver-protocol/2-text-protocol/com_quit.md): This command instructs the server to close the connection and release associated resources.
- [COM\_RESET\_CONNECTION](/docs/server/reference/clientserver-protocol/2-text-protocol/com_reset_connection.md): This command resets the session state (variables, tables, etc.) to its initial values without closing the connection.
- [COM\_SET\_OPTION](/docs/server/reference/clientserver-protocol/2-text-protocol/com_set_option.md): This command configures client-specific options for the current connection, such as enabling or disabling multi-statements.
- [COM\_SHUTDOWN](/docs/server/reference/clientserver-protocol/2-text-protocol/com_shutdown.md): This command requests the server to shut down, it requires the SHUTDOWN privilege to be executed successfully.
- [COM\_SLEEP](/docs/server/reference/clientserver-protocol/2-text-protocol/com_sleep.md): This is an internal command used to represent a sleeping connection that is waiting for a new command from the client.
- [COM\_STATISTICS](/docs/server/reference/clientserver-protocol/2-text-protocol/com_statistics.md): This command retrieves a human-readable string containing internal server statistics like uptime and thread counts.
