Get the App
SLTechnology News&Howtos  ›  Servers  › 

Use the mysqld_safe command of linux to start the MySQL server script

Shulou Source: shulou.com Published: 2022-06-02 18:40:55 11月15日 Update

This article mainly introduces the use of linux mysqld_safe command MySQL server startup script, the article is very detailed, has a certain reference value, interested friends must read it!

Use the mysqld_safe command to start the MySQL server. Mysqld_safe adds some security features, such as restarting the server when an error occurs and recording running information to the error log file.

Syntax format: mysqld_safe [parameters]

Common parameters:

Reference example

Start the MySQL server:

[root@linuxcool ~] # mysqld_safe

Start the MySQL server using 3306:

[root@linuxcool] # mysqld_safe-- port 3306

Specify that the system login user used to start the mysql server is zx:

[root@linuxcool ~] # mysqld_safe-the above is all the contents of the MySQL server startup script using linux's mysqld_safe command, thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Server service command script content parameter error reference security value information interest function instance partner common use file log more Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno NVidia Redmi MySQL vpn