无法访问远程mysql服务器需要帮助 [英] cant access remote mysql server need help

查看:122
本文介绍了无法访问远程mysql服务器需要帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带mysql的unix服务器,我正尝试从我的机​​器访问它.为了明确起见,请访问mysql服务器.当我这样做时,我会收到此错误.

I have a unix server with mysql which I am trying to access from my machine. To clarify, access the mysql server. When I do I get this error.

Connecting to MySQL server 192.168.1.25...
Can't connect to MySQL server on '192.168.1.25' (10061)

这是我的凭据:

username: root
port: 3306

服务器正在运行,因为我能够远程登录到计算机(使用ip:192.168.1.25,然后从根目录运行mysql.您认为这是怎么回事:

The server is running because I am able to remotely login onto the machine (with ip: 192.168.1.25" and then run mysql from root. What do you think is going on:

  1. 这是防火墙问题吗?
  2. 以"root"身份访问被拒绝了吗?

我是mysql的新手.

I am new to mysql.

推荐答案

可能是因为不允许远程root登录.您可以尝试这篇文章,了解如何启用远程root:

Probably because remote root login is not allowed. You can try this article on how to enable remote root:

http://benrobb.com/2007/01/15/howto-remote-root-access-to-mysql/

这篇关于无法访问远程mysql服务器需要帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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