MySQL导入.sql文件及经常使用命令,参考:http://blog.csdn.net/muziduoxi/article/details/6091202html
修改mysql默认字符集的方法,参考:http://database.51cto.com/art/201010/229167.htmmysql
Mysql Source导入时出现乱码问题,参考:http://www.examw.com/biancheng/mysql/141585/sql
grant详解,参考:http://www.cnblogs.com/hcbin/archive/2010/04/23/1718379.html数据库
grant all on testdb.* to 'test'@'127.0.0.1' identified by '1234567';
ide
testdb.* 此处参数为表名, 不能直接写数据库名称,如 testdb,不然该帐户将没法访问testdb数据库, 正确写法为“testdb.*”,便可正确链接数据库.net
grant权限分配,参考: http://blog.csdn.net/aggrelxf/article/details/6064445code