Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 937 Bytes

examples.md

File metadata and controls

31 lines (22 loc) · 937 Bytes

Examples

go-mysqld

The go-mysqld is a simple MySQL-compatible implementation using the go-mysqld. The sample implementation is a in-memory MySQL-compatible server, and it supports only a table and do not support any JOIN queries.

go-mysqld is an example of a compatible MySQL server implementation using go-mysql.
	NAME
	 go-mysqld

	SYNOPSIS
	 go-mysqld [OPTIONS]

	OPTIONS
	-v      : Enable verbose output.
	-p      : Enable profiling.

	RETURN VALUE
	  Return EXIT_SUCCESS or EXIT_FAILURE

To install the binary, use the following command. The install command installs the utility programs into GO_PATH/bin.

make install

The profile option enables pprof serves of Go which has the HTTP interface to observe go-mysqld profile data.