MySQL
is a widely used open-source relational database management system (RDBMS).
Related dependencies: libnuma-dev libboost-all-dev boost-1.77.0
./preinstall_deps.sh
./dl_and_build_mysql.sh
This command downloads MySQL-8.0.31 source code and builds from it. When completed, all MySQL related binaries and tools are installed.
./run_mysql_server.sh
This command initializes and runs the server (using mysqld
) in Occlum.
When completed, the server starts to wait connections.
./run_mysql_client.sh
This command starts the client (using mysql
) in Occlum and test basic query SQLs.
The network protocol between client and server uses uds(unix domain socket) by default.
More configuration can be tuned and applied in my.cnf
.