For the installation steps, a large number of online, I will not repeat, we can degree Niang together, today only talk about the installation process of some pits:
1. When authorized by the system user, a log file is generated containing the initial password for initial login to MySQL and the file location is/var/log/mysqld.log.
What if you can't find the password, you can't get in?
You can forcibly enter:
1. Turn off MySQL
# Service Mysqld Stop
2. Blocking permissions
#./mysqld_safe--skip-grant-table
Screen appears: Starting demo from .....
3. Start a new terminal input
# mysql-u Root MySQL
mysql> UPDATE user SET Password=password (' NewPassword ') where user= ' root ';
To authorize Root
Mysql>grant all privileges on * * to [e-mail protected] "%" identified by "newpwd";
mysql> FLUSH privileges;
Remember to say this, otherwise if you close the previous terminal, the original error will appear
Mysql> \q
Next, Count to MySQL to log in with the changed password.
Linux systems install MySQL and pits