grant all privileges on scdb.* to szl@localhost identified by '******';
說明:1.all privileges 所有可用權限,也可單獨分別列出,
比如:select,insert,update,delete,create,drop,index,alter,grant,references,reload,shutdown,process,file等14個權限
2. scdb.* 數據庫名,* 代表該數據庫下所有表、視圖、存儲過程等
3. szl@localhost szl是用戶名 @ 后面是IP地址,此處表明是本地
4. identified by '******' *代表密碼