Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Access denied for user 'x@'localhost'

Author  Topic 

Polynomise
Starting Member

1 Post

Posted - 2015-03-12 : 10:25:01
Surely this problem has discussed somewhere, but unfortunately I could not find the answer to it.
I tried to move a web site to a local computer in bitrix. When unpacking the archive got an error.

Warning! .htaccess File from the archive has been stored in the root of the site under the name .htaccess.restore, because it may contain directives that are not valid on the server. At the root .htaccess Site created by default. Change it manually via FTP. Operation system restore is complete.

Tried to modify, sis not help.
Trying to open website pops up the following:

Error! mysql_connect('-', '-', '-')
Access denied for user '******'@'localhost' (using password: YES)
FILE: Z:\home\bitrix.loc\www\bitrix\modules\main\classes\mysql\main.php
LINE: 99
MySQL Query Error: SELECT L.*, L.LID as ID, L.LID as SITE_ID FROM b_lang L WHERE L.ACTIVE='Y' ORDER BY LENGTH(L.DIR) DESC, L.DOMAIN_LIMITED DESC, SORT []

I did not install a Root pass, also i have access to mysql user. What`s problem?

gbritton
Master Smack Fu Yak Hacker

2780 Posts

Posted - 2015-03-12 : 10:31:27
This is a SQL Server forum. You should try a MySql forum
Go to Top of Page
   

- Advertisement -