开发者

Wampserver 2.1 MySQL and localhost problem

I've been using wampserver for a while but today ive installed new version WampSer开发者_如何转开发ver 2.1e (32 bits) and I can't understand whats going on.

I can't use MySQL console to login, I always get

ERROR 1130 (HY000): Host 'my ip address' is not allowed to connect to this MySQL server

I am using MySQL 5.5.8.

And when I try to open http://localhost/anything/anything/anything or any other addess on localhost I always get moved to http://localhost/users/login?from=/ to some ADIMIRA Catalogo Metalúrgico.

There is no .htaccess in my www folder and I have even rewrite_module off.

Can anyone tell me please what is wrong and how to fix this?


This error means that you are trying to connect to MySQL using a username that is restricted to either localhost or another specific IP address, and either aren't local or aren't connecting using that specific IP address.

You will need to either remove the host restriction from that user, or add another host to the list of hosts that user can connect as. You'll want to read up on account management commands in MySQL to find exactly the right commands for your situation.

(This error can also mean that the restriction is hostname-based, but the IP you're using to connect does not have that hostname or the hostname lookup failed.)


From the wampserver site, the latest stable release is 2.1. Where did you get version 2.2 from? Anyway, I think it's better to use the stable versions instead of the beta ones. No point using the latest software if it does not work.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜