mysql common used command
1:connect: mysql -u root -p
2:change password:
use mysql
update user set Password=password('newpassword') where User='root';
flush privileges;
3:create database discuz;
4:grant all privileges on discuz.* to discuz@localhost identified by '123456';