mysqld
mySQL server daemon
TLDR
Start MySQL server
$ mysqld
Start with specific config$ mysqld --defaults-file=[/etc/mysql/my.cnf]
Start with data directory$ mysqld --datadir=[/var/lib/mysql]
Run in safe mode$ mysqld_safe
Initialize data directory$ mysqld --initialize
Run with specific user$ mysqld --user=[mysql]
Verbose logging$ mysqld --verbose
SYNOPSIS
mysqld [options]
DESCRIPTION
mysqld is the MySQL server daemon. It handles database storage and query processing.
The tool is the core database engine. Manages connections, queries, and data.
PARAMETERS
--defaults-file FILE
Configuration file.--datadir DIR
Data directory path.--user USER
Run as user.--initialize
Initialize data directory.--port PORT
Listen port.--verbose
Verbose mode.--help
Display help information.
CAVEATS
Requires proper configuration. Resource intensive. Security setup critical.
HISTORY
mysqld is the MySQL database server, originally developed by MySQL AB and now maintained by Oracle.
SEE ALSO
mysql(1), mysqladmin(1), mysqld_safe(1)
