程序员常用mysql命令 授权指定IP连接:grant all on *.* to root@'127.0.0.1' identified by 'root110';导入带中文的SQL:mysql -uroot -proot110 table < table.sql -f --default-character-set=utf8要注意加上-f --default-character-set=utf8