简体   繁体   English

无法启动和运行我的 azure sql 服务器

[英]Can't get my azure sql server up and running

I'm getting crazy over this issue, I hope someone can help me:我对这个问题很生气,希望有人能帮助我:

  1. I created an Azure Database for MySQL server我为 MySQL 服务器创建了一个 Azure 数据库

  2. Disabled SSL, and allowed all IPs to access禁用SSL,允许所有IP访问

  3. Trying to connect to the server using Server name and Server admin login name尝试使用服务器名称和服务器管理员登录名连接到服务器

I tried MySQLWorkbench, and CLI mysql -u <Server admin login name> -h <Server name> -P 3306 -p我尝试了 MySQLWorkbench 和 CLI mysql -u <Server admin login name> -h <Server name> -P 3306 -p

In both cases it freezes, no error messages, doesn't timeout, no logs on the azure side.在这两种情况下,它都冻结,没有错误消息,没有超时,azure 端没有日志。

I have literally no idea what's wrong or what to do about it.我真的不知道哪里出了问题,也不知道该怎么办。 The database was just created, totally untouched.数据库刚刚创建,完全没有动过。

Has anyone experiences something similar before?有没有人经历过类似的事情?

Thank you!谢谢!

With the given information it's not clear what is the exact error while accessing the database, but if you have deployed it properly you can access it easily without any error using both, MySQL Workbench and CLI.根据给定的信息,尚不清楚访问数据库时的确切错误是什么,但如果您已正确部署它,则可以使用 MySQL Workbench 和 CLI 轻松访问它而不会出现任何错误。

In your example, the sequence of parameter isn't in write format which might giving issue.在您的示例中,参数序列不是写入格式,这可能会出现问题。

Try below format:试试下面的格式:

mysql -h <server_name>.mysql.database.azure.com -u <admin_name>@<server_name> -p

If using MySQL Workbench, you can refer official documentUse MySQL Workbench to connect and query data in Azure Database for MySQL for the same.如果使用MySQL Workbench,可以参考官方文档Use MySQL Workbench to connect and query data in Azure Database for MySQL for same.

This should work.这应该工作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法为我的 azure 申请获取 IDP 证书 - Can't get the IDP certificate for my azure application 在 Google Cloud SQL 服务器上运行后找不到 pg_dump 生成的文件 - Can't find pg_dump generated file after running on Google Cloud SQL server 在运行 python 脚本的我的 azure 服务器上,Ram 使用量不断增加 - Ram usage is constantly increasing on my azure server running python scripts 无法从SQL Server获取Azure ML中的数据 - Unable to get the data in Azure ML from SQL Server 我们可以将本地 SQL 服务器数据库中的表连接到 Azure Delta 湖中的 Delta 表中的表吗? 我有什么选择 - Can we join tables in on-premise SQL Server database to tables in Delta tables in Azure Delta lake? what are my options 启用 UFW,现在无法连接到我的 ubuntu azure 虚拟机 - Enabled UFW, now can't connect to my ubuntu azure vm 列出 Azure SQL 服务器中所有弹性池的 T-SQL 是什么? - What is the T-SQL to list all elastic pools in an Azure SQL Server? 无法使用 python 获取 azure 的 su.net id - Can't get the subnet id of azure using python 我的 Azure Function 在 Python v2 没有显示任何运行的迹象,但它可能是 - My Azure Function in Python v2 doesn't show any signs of running, but it probably is AWS RDS SQL Server 上的 Azure Devops 服务器 - Azure Devops Server on AWS RDS SQL Server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM