mysqli_real_connect():(HY000/1045):用户'azure'@'localhost'的访问被拒绝(使用密码:是) [英] mysqli_real_connect(): (HY000/1045): Access denied for user 'azure'@'localhost' (using password: YES)

查看:845
本文介绍了mysqli_real_connect():(HY000/1045):用户'azure'@'localhost'的访问被拒绝(使用密码:是)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

特别问候,请帮我解决以下错误mysqli_real_connect():(HY000/1045):用户'azure'@'localhost'的访问被拒绝(使用密码:是)

Cordial Greeting, Help me with the following error mysqli_real_connect (): (HY000 / 1045): Access denied for user 'azure' @ 'localhost' (using password: YES)

推荐答案

卡洛斯,

对于MySQL的Azure数据库,没有Azure @ Localhost连接字符串.请查看以下文档,作为连接到Azure MySQL数据库实例的一种选择:

With Azure Database for MySQL there is no Azure @ Localhost connection string. Please review the following documentation as one option for connecting to an Azure MySQL Database instance:

适用于MySQL的Azure数据库:使用MySQL连接和查询数据的工作台

也请导航到Azure门户并获取连接字符串"刀片,以标识要在MySQL Workbench中使用的正确值.密码值是在配置和部署用于MySQL实例的Azure数据库时建立的值 第一次.

Please also navigate to the Azure Portal and source the Connection String blade to identify the correct values to be used in the MySQL Workbench. The password value is the value established when you configured and deployed the Azure Database for MySQL instance for the first time.

用户值应为`username` @`hostname`

User value should be `username` @ `hostname`


这篇关于mysqli_real_connect():(HY000/1045):用户'azure'@'localhost'的访问被拒绝(使用密码:是)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆