I tried to transfer the web site to the local computer in bitrix while unpacking the archive was an error:
Attention!
The
.htaccessfile from the archive was saved in the root of the site as.htaccess.restore, because it may contain directives that are not valid on this server. At the root of the site created..htaccessby default. Change it manually via FTP.System Restore operation completed.
tried to change, did not help.
When I try to open the site, I get the following error:
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 set the root password, access to mysql user is available. When I run it with skip-grant-tables, I get the following error
Error! mysql_select_db (******)
Unknown database '******'
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 [No database selected]
I would be grateful for a detailed answer.