开发者

Magento Access denied for user error

I decided to give a try to Magento. I have used my hosting provider´s service Simple Scripts to install it in a subdomain. After succesfull install a have tried to go to home page but this error has occured: SQLSTATE[00000] [1045] Access denied for user: 'testing_1303@10.10.29.3' (Using password: YES) I have searched google but found nothing. I have checked my data in app/etc/local.xml file. host, user, password, dbname everything is OK. I also checked minimal requirements with magento script and a I have passed all requirements. Do you have any sugestions?

One more clue: I have renamed local.xml file to force Magento to install again, but it does not start the instalation. My browser throw this error: Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

SOLUTION: And here is the solution with help of my h开发者_开发问答osting provider: In the local.xml file put this as a host:

<host><![CDATA[127:0:0:1:/tmp/mysql50.sock]]></host>


This is almost definitely not an issue with Magento.

If you are sure your database credentials are correct then the problem probably lies in the fact that you are trying to connect to a non-local database server and the server does not allow remote connections.


SOLUTION: And here is the solution with help of my hosting provider: In the local.xml file put this as a host:

<host><![CDATA[127:0:0:1:/tmp/mysql50.sock]]></host>


Try emptying the var/ folder. Maybe it's a cache issue.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜