mysqladmin -uroot -pxx password xxx
mysql -uroot -p -h127.0.0.1 -P3306
show databases;
show tables;
desc db;
show create table db;
select user();
select database();
create database ss;
show variables;
grant all on db1.* to user1 identified by '12222';
--备份与恢复
mysqldump -uroot p'123456' mysql>a.sql
mysql -uroot -pxxx mysql<a.sql
pure-ftpd