MySQL--在批處理中執行SQL

"%~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'
相關文章
相關標籤/搜索