MySQL is a widely used, open-source relational database management system
# Define installation folder
export INSTALL_DIRECTORY=/usr/bin
# Use local installation
sudo bin/installer install
# Use remote installation
curl --location "https://gitlab.com/timonier/mysql/raw/master/bin/installer" | sudo sh -s -- install
Note 1: If you do not define INSTALL_DIRECTORY
, installer
will use in /usr/local/bin
.
Note 2: docker-for-mac
users have to configure native NFS server.
Run the command mysql
:
# See all mysql options
mysql --help
# Run mysql
mysql -h mysql-morgan.docker -u root