mysql 8.0給數據庫添加用戶和賦權

CREATE USER test IDENTIFIED BY 'test';    創建用戶mysql use mysqlsql SELECT *  FROM USER WHERE USER='test' ; blog SHOW GRANTS FOR test;   查看權限it GRANT EXECUTE,INSERT,SELECT,UPDATE ON *.* TO 'test'@'%';  /
相關文章
相關標籤/搜索