Module type Nonblocking.SSource
type error = int * stringmodule Time : sig ... endmodule Field : sig ... endmodule Stmt : sig ... endtype flag = | Compress| Found_rows| Ignore_sigpipe| Ignore_space| Interactive| Local_files| Multi_results| Multi_statements| No_schema| Odbc| Ssl| Remember_options
type protocol = | Default| Tcp| Socket| Pipe| Memory
type client_option = | Connect_timeout of int| Compress| Named_pipe of string| Init_command of string| Read_default_file of string| Read_default_group of string| Set_charset_dir of string| Set_charset_name of string| Local_infile of bool| Protocol of protocol| Shared_memory_base_name of string| Read_timeout of int| Write_timeout of int| Secure_auth of bool| Report_data_truncation of bool| Reconnect of bool| Ssl_verify_server_cert of bool| Plugin_dir of string| Default_auth of string| Bind of string| Ssl_key of string| Ssl_cert of string| Ssl_ca of string| Ssl_capath of string| Ssl_cipher of string| Ssl_crl of string| Ssl_crlpath of string| Connect_attr_reset| Connect_attr_add of string * string| Connect_attr_delete of string| Server_public_key of string| Enable_cleartext_plugin of bool
type server_option = | Multi_statements of bool
val connect :
?host:string ->
?user:string ->
?pass:string ->
?db:string ->
?port:int ->
?socket:string ->
?flags:flag list ->
?options:client_option list ->
unit ->
t result futureval library_end : unit -> unitval change_user : t -> string -> string -> string option -> unit result futureval get_server_info : t -> stringval get_server_version : t -> intval get_host_info : t -> stringval get_proto_info : t -> int