【发布时间】:2020-05-10 12:59:52
【问题描述】:
无法使用 mysql 工作台或直接命令行连接到远程 mysql 服务器。 尝试时解析不同的主机名
直接通过命令行尝试时
mysql --host=10.37.1.92 --port=3306 --user=root --password=password
Warning: Using a password on the command line interface can be insecure.
ERROR 1045 (28000): Access denied for user 'root'@'myaapvm.local' (using password: YES)
试过了,有密码没密码,都不行。
我尝试连接到 10.37.1.92 服务器,但我的 mysql 客户端尝试连接到不同的服务器。我现在可以尝试的唯一方法是直接登录机器并在我的数据库中进行更改。我在我的 mysql 数据库中禁用了防火墙。有没有人遇到过这个问题,请帮忙。
此服务器运行 maria DB 安装。
【问题讨论】:
标签: mysql mariadb mysql-workbench redhat