snippetbashTip
mysqld — Start the MySQL database server. More information: <https://dev.mysql.com/doc/refman/en/mysqld.html>
Viewed 0 times
theservercommandstartdatabaseclimysqlmysqld
Problem
How to use the
mysqld command: Start the MySQL database server. More information: <https://dev.mysql.com/doc/refman/en/mysqld.html>.Solution
mysqld — Start the MySQL database server. More information: <https://dev.mysql.com/doc/refman/en/mysqld.html>.Start the MySQL database server:
mysqldStart the server, printing error messages to the console:
mysqld --consoleStart 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-defaultsStart 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}}Display help:
mysqld --verbose --helpCode Snippets
Start the MySQL database server
mysqldStart the server, printing error messages to the console
mysqld --consoleStart 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-defaultsStart the server, reading arguments and values from a file
mysqld --defaults-file={{path/to/file}}Context
tldr-pages: common/mysqld
Revisions (0)
No revisions yet.