mysql -uroot -p123456 < \tmp.sql
这个命令可以将文件导入数据库比如tmp.sql里的内容是
use mysql;
update user set password=password("123456") where user='root' and host='localhost';
flush privileges;如何将上面的字符串导入到mysql,而不是通过一个sql文件