Skip to content

MySQL8创建用户

创建用户

mysql
create user username@localhost
    identified by 'password';

grant alter, alter routine, create, create routine, create temporary tables, create view, delete, drop, event, execute, grant option, index, insert, lock tables, references, select, show view, trigger, update on databasename.* to username@localhost;

最近更新:10/11/2024, 4:53:30 AM

原文链接:MySQL8创建用户

|下一篇:MySQL查看端口