I tried to transfer the web site to the local computer in bitrix while unpacking the archive was an error:

Attention!

The .htaccess file 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. .htaccess by 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.

    1 answer 1

    You have unpacked the site, but did not upload a database dump. How to do it correctly, bitrix has detailed instructions - I'm afraid this is a bad question for ru.SO

    • one
      I think this is a completely normal question, especially if the instruction here is duplicated at least in general terms. - Nick Volynkin

    Protected by a member Pavel Mayorov on Oct 26 '15 at 9:45 .

    Thank you for your interest in this issue. Since he collected a large number of low-quality and spam responses, which had to be deleted, now it’s necessary to have 10 reputation points on the site (the bonus for account association is not counted ).

    Maybe you want to answer one of the unanswered questions ?