Access deniedfor user 'smartorder'@'18.69.34.3
时间: 2023-11-23 11:57:59 浏览: 38
根据提供的引用[1],您可以尝试使用以下命令授予远程用户'smartorder'@'18.69.34.3'访问权限:
```sql
use mysql;
GRANT ALL PRIVILEGES ON *.* TO 'smartorder'@'18.69.34.3' IDENTIFIED BY '您的密码' WITH GRANT OPTION;
flush privileges;
quit
```
请确保将'您的密码'替换为实际的密码。如果您已经授予了'smartorder'@'%'所有权限,则可能需要检查该用户是否使用正确的密码进行连接。
如果您仍然无法连接到MySQL服务器并收到“2003 - Can't connect to MySQL server on '47.xx.1xx.45' (10060)”错误,请确保您的MySQL服务器正在运行,并检查防火墙设置是否允许从远程IP地址连接到MySQL服务器的端口。您还可以尝试使用telnet命令测试连接是否正常:
```shell
telnet 47.xx.1xx.45 3306
```
如果连接成功,则表示MySQL服务器正在运行并且端口未被阻止。如果连接失败,则需要检查网络连接和防火墙设置。
相关推荐
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![doc](https://img-home.csdnimg.cn/images/20210720083327.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)