1.mysql start of the essence:
In a single instance, / etc / init.d / mysql start is a shell script, the script mysqld_safe call, the last call service mysqld start mysql.
2. There are two ways to close mysql, mysqladmin -uroot -poldboy124 shutdown or /etc/init.d/mysql stop
3. For multi-purpose mysql to: help, like the linux man, the same help.
4. Modify the password in two ways:
1) mysqladmin -uroot -poldboy124 password '123' --- old password must be
2)update mysql.user set password=password(456) where user='root' and host='localhost'
5. Lost Password:
1)/etc/init.d/mysql stop
2) mysqld_safe --skip-grant-tables --user = mysql & (skip the authorization page to open the mysql service that does not require login password)
3) mysql landing
4)pdate mysql.user set password=password(456) where user='root' and host='localhost'
5)lush privileges
6)quit
7) mysqladmin -uroot -p124 shutdown
8) the normal way to re-visit