您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

az mysql db

Manage MySQL databases on a server.

In this article

Commands

Create a MySQL database.

Delete a database.

List the databases for a server.

Show the details of a database.

az mysql db create

Create a MySQL database.

az mysql db create --name

--resource-group

--server-name

[--charset]

[--collation]

[--subscription]

Examples

Create database 'testdb' in the server 'testsvr' with the default parameters.

az mysql db create -g testgroup -s testsvr -n testdb

Create database 'testdb' in server 'testsvr' with a given character set and collation rules.

az mysql db create -g testgroup -s testsvr -n testdb --charset {valid_charset} --collation {valid_collation}

Required Parameters

--name -n

The name of the database.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

Optional Parameters

--charset

The charset of the database.

--collation

The collation of the database.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az mysql db delete

Delete a database.

az mysql db delete --name

[--ids]

[--resource-group]

[--server-name]

[--subscription]

[--yes]

Examples

Delete database 'testdb' in the server 'testsvr'.

az mysql db delete -g testgroup -s testsvr -n testdb

Required Parameters

--name -n

The name of the database.

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--yes -y

Do not prompt for confirmation.

Global Parameters

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az mysql db list

List the databases for a server.

az mysql db list --resource-group

--server-name

[--query-examples]

[--subscription]

Examples

List databases in the server 'testsvr'.

az mysql db list -g testgroup -s testsvr

Required Parameters

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--server-name -s

Name of the Server.

Optional Parameters

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

az mysql db show

Show the details of a database.

az mysql db show --name

[--ids]

[--query-examples]

[--resource-group]

[--server-name]

[--subscription]

Examples

Show database 'testdb' in the server 'testsvr'.

az mysql db show -g testgroup -s testsvr -n testdb

Required Parameters

--name -n

The name of the database.

Optional Parameters

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--query-examples

Recommend JMESPath string for you. You can copy one of the query and paste it after --query parameter within double quotation marks to see the results. You can add one or more positional keywords so that we can give suggestions based on these key words.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=.

--server-name -s

Name of the server. The name can contain only lowercase letters, numbers, and the hyphen (-) character. Minimum 3 characters and maximum 63 characters.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

Global Parameters

--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--verbose

Increase logging verbosity. Use --debug for full debug logs.

azdb文件怎么打开_az mysql db相关推荐

  1. mysql怎么加载bak文件_bak是什么文件格式,bak文件怎么打开? mysql 在服务器里备份(直接拷贝数据文件)-宝商在线...

    .bak是备份文件,为文件格式扩展名,这类文件一般在.bak前面加上应该有原来的扩展名比如windows.dll.bak,或是windows_dll.bak,有的则是由原文件的后缀名和bak混合而成, ...

  2. php+mysql文件上传,使用PHP将文件上传到MySql DB

    我希望用户通过我在后端使用PHP usinig MySql开发的Web应用程序上传文件. 我想将文件存储在数据库中.我这样做遇到了问题. 此外,将文件存储在数据库中后,我们将如何下载文件,如何在web ...

  3. azdb文件怎么打开_AZDBMappingSvcs.dll

    我该如何安装从金山毒霸下载的DLL文件? 一: 1.从金山毒霸下载压缩文件. 2.将DLL文件解压到电脑上的某个地方. 3.把该文件跟要求使用它的程序放在同一路径上.注意32位程序需要使用32位的DL ...

  4. azdb文件怎么打开_AZDBExplorerSvcs.dll

    我该如何安装从金山毒霸下载的DLL文件? 一: 1.从金山毒霸下载压缩文件. 2.将DLL文件解压到电脑上的某个地方. 3.把该文件跟要求使用它的程序放在同一路径上.注意32位程序需要使用32位的DL ...

  5. azdb文件怎么打开_阿里云帮助中心-阿里云,领先的云计算服务提供商

    简介 视频点播接口主要包括:凭证类,User,视频类,资源,回调通知类等. 返回值结构说明 所有请求均返回此JSON格式的数据,所有API只描述[data]结构数据. result bool 操作是否 ...

  6. php mysql log文件怎么打开_如何查看mysql的日志文件

    首先,介绍一下mysql日志的种类.一般来说,日志有五种,分别为: (推荐学习:mysql教程)错误日志:-log-err (记录启动,运行,停止mysql时出现的信息) 二进制日志:-log-bin ...

  7. mac下php mysql数据库文件怎么打开_Mac环境下php操作mysql数据库的方法分享

    今天在mac上搭建好了php的环境,我们就把php操作mysql数据库的方法分享给大家,有需要的小伙伴参考下. Mac本地环境搭建 在Mac系统,我们可以使用MAMP Pro 软件来搭建本地服务器.安 ...

  8. mysql数据库sql文件怎么打开吗,sql文件怎么打开

    sql文件怎么打开 SQL是具有数据操纵和数据定义等多种功能的数据库语言,这种语言具有交互性特点,能为用户提供极大的便利,数据库管理系统应充分利用SQL语言提高计算机应用系统的工作质量与效率.下面是小 ...

  9. mysql格式是什么文件怎么打开_sql文件怎么打开,SQL格式是什么文件?

    SQL格式是什么文件? 学习编程的同学可能都知道SQL是一种高级的非过程化的编程语言,雷同于office Access.但是后者大家用的可能比较多,会计专业的同学可能都会考这方面的证书.SQL在数据库 ...

最新文章

  1. 利用__index和__newindex实现默认值表、监控表、只读表(转)
  2. python图像复制、显示、保存
  3. python3-matplotlib库简单入门
  4. 爬虫笔记9实例股票数据
  5. 我的世界1 11java,Editing Java版Alpha v1.0.11
  6. 利用JS实现点击上一周或下一周却换
  7. Fortinet:行走在网络和安全融合领域的最前列
  8. 求一批整数中出现最多的个位数字_(43)C++面试之从1到n整数中1出现的次数
  9. 【SQL server】数据库的彻底卸载
  10. python做有道翻译接口的时候报UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid sta
  11. 服务器SN信息,命令查看服务器SN号
  12. NVIDIA 安装 CUDA
  13. 南华大学【软卓】【ACM协会】【其它学习生活方面】QA
  14. 不关闭Selinux\Firewalld的情况下OpenSSH 9.0/9.1/9.2升级说明——筑梦之路
  15. python中文件包括文本文件和什么_使用Python删除文件中的括号和文本
  16. C语言实现NP调度算法,基于任务复制的进化调度算法.pdf
  17. 第9天:CSS精灵图
  18. 使用割圆术计算圆周率
  19. 根据时间段进行数据的划分
  20. 在C#中构建一个虚拟软件电话,该软件电话可以在您的呼叫中心中作为振铃组...

热门文章

  1. springboot feign too many bytes written executing
  2. 什么是大数据系统存储及管理?
  3. 2022年软件测试行业的现状和前景?
  4. vue项目中图片地址生成二维码
  5. 领卓教育:QT图片转换器
  6. 如何快速发表职称论文
  7. 如何用计算机打出立方,立方米符号怎么打出来
  8. 车牌识别github资源
  9. 第一周,人工智能学习总结
  10. 金三银四马上到了,找工作需要准备什么?