MySQL用户、权限及密码操做

1 建立用户 1.1 create user 格式以下:mysql CREATE USER 'username'@'hostname' IDENTIFIED BY 'password'; 其中,username为用户名;hostname为主机,localhost指本地用户,通配符%指能够从远程主机登录用户,若是不指定host,则默认为%;password为密码,能够为空。sql 例如,建立用户名为
相关文章
相关标签/搜索