Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 284 Bytes

run-mysql.md

File metadata and controls

21 lines (14 loc) · 284 Bytes

Run MySQL

how to start and shut down the MySQL server

Run the database server

$ mysqld_safe --defaults-file=/path/to/my.cnf

Connect to the database server

$ mysql -uroot

Shut down the database server

$ mysqladmin -uroot shutdown