Home > Article > Operation and Maintenance > How to start mysql in linux
How to start the Mysql server in Linux:
1. Check the mysql version
Method 1 :status;
Method 2: select version();
2. Common commands for Mysql startup
(1). Use service to start:
[root@localhost /]# service mysqld start (5.0版本是mysqld) [root@szxdb etc]# service mysql start (5.5.7版本是mysql)
(2), use mysqld script to start:
/etc/inint.d/mysqld start
(3), use safe_mysqld to start:
safe_mysqld&
The above is the detailed content of How to start mysql in linux. For more information, please follow other related articles on the PHP Chinese website!