在 Azure Database for MySQL 中创建数据库和用户Create databases and users in Azure Database for MySQL
10/29/2020
本文内容
备注
将要查看的是 Azure Database for MySQL 的新服务。You are viewing the new service of Azure Database for MySQL. 若要查看经典 MySQL Database for Azure 的文档,请访问此页。To view the documentation for classic MySQL Database for Azure, please visit this page.
本文介绍如何在 Azure Database for MySQL 服务器中创建用户。This article describes how you can create users in an Azure Database for MySQL server.
首次创建 Azure Database for MySQL 服务器时,需要提供服务器管理员用户名和密码。When you first created your Azure Database for MySQL server, you provided a server admin user name and password. 有关详细信息,请参阅此快速入门。For more information, see this Quickstart. 你可以在 Azure 门户中确定你的服务器管理员用户名。You can determine your server admin user name in the Azure portal.
服务器管理员用户具有以下权限:The server admin user has these privileges:
选择、插入、更新、删除、创建、放置、重载、处理、引用、索引、更改、显示数据库、创建临时表、锁定表、执行、复制从属、复制客户端、创建视图、显示视图、创建例程、更改例程、创建用户、事件、触发器SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, RELOAD, PROCESS, REFERENCES, INDEX, ALTER, SHOW DATABASES, CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, REPLICATION SLAVE, REPLICATION CLIENT, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, CREATE USER, EVENT, TRIGGER
创建 Azure Database for MySQL 服务器后,你可以使用第一个服务器管理员帐户来创建其他用