Version 1.3
In my case, the config.php file content was never generated, precisely because there was an error with the database connection. The config.php file is empty before connecting to the database. As it should, it has to confirm all user parameters before writing that file.
When you check the amysqli.php file where AMySQLi class is defined, the new MSQLI connection parameters, passed to the __construct function, are right, except for the password. The reason is the AbanteCart application converts the special character ampersand (&) in the password, for example, to the corresponding entity (&) saved for future use. That is the reason for the error message: The inputted password at the installation form does not match the password used to access the database before it is saved to config.php file.
I had no way to detect the reason for this error, except debugging the application. Which I did. Maybe somewhere in the documentation there is a warning about using special characters in the MSQL password, but I did not find it. I am new to AbanteCart, anyway.