MySQL--在批处理中执行SQL

来源:互联网 发布:端口映射软件使用教程 编辑:程序博客网 时间:2024/05/01 22:49
"%~dp0\mysql-5.6.19-win32\bin\mysql.exe" -h127.0.0.1 -P31060 -uroot --execute="grant all on *.* to 'root'@'%' identified by '123456';update mysql.user SET password=PASSWORD('123456') WHERE user='root';flush privileges;";

阅读全文
0 0
原创粉丝点击