mysqld
Start the MySQL database server. More information: <https://dev.mysql.com/doc/refman/en/mysqld.html>.
Install
- All systems
-
curl cmd.cat/mysqld.sh
- Debian
-
apt-get install mariadb-server-core-10.3
- Ubuntu
-
apt-get install percona-xtradb-cluster-server-5.5
- Arch Linux
-
pacman -S percona-server
- Kali Linux
-
apt-get install mariadb-server-core-10.1
- Fedora
-
dnf install community-mysql-server
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install percona-xtradb-cluster-server-5.5
- OS X
-
brew install percona-server
- Raspbian
-
apt-get install mariadb-server-core-5.5
- Dockerfile
- dockerfile.run/mysqld
Start the MySQL database server. More information: <https://dev.mysql.com/doc/refman/en/mysqld.html>.
-
Start the MySQL database server:
mysqld
-
Start the server, printing error messages to the console:
mysqld --console
-
Start the server, saving logging output to a custom log file:
mysqld --log=path/to/file.log
-
Print the default arguments and their values and exit:
mysqld --print-defaults
-
Start the server, reading arguments and values from a file:
mysqld --defaults-file=path/to/file
-
Start the server and listen on a custom port:
mysqld --port=port
-
Show all help options and exit:
mysqld --verbose --help
© tl;dr; authors and contributors