| 
	[root@01 ~]# mysql -u root -p   #以root登录本机的mysql 
	mysql> show databases ;           #列出数据库的所有库 
		+--------------------+ 
		| Database            
		+--------------------+ 
		| information_schema 
		| mysql                  
		| one                      
		| open                      
		| test                       
		+--------------------+ 
		5 rows in set (0.00 sec) 
		mysql> use one;                  #切换到one这个库里面 
		Reading table information for completion of table and column names 
		You can turn off this feature to get a quicker startup with -A 
		Database changed 
	mysql> 'grant all on test.* to oneadmin@ ”192.168.10.%” identified by "oneadmin"'; 
	用户名为oneadmin的用户用oneadmin的密码可以访问  所有叫test的表  其中设置为*.*为所以表访问全部开放 
	Dump 
	mysqldump -u root --password='' teat > test.sql 
	Recover 
	mysql -u root --password='' test < test.sql | 
