Answer the question
In order to leave comments, you need to log in
How can I solve the database problem?
I mean, I put the online store on hosting and everything seemed to be set up, but there is such a problem with the site address
Warning: mysqli_connect(): (28000/1045): Access denied for user 'admin_magaz'@'localhost' (using password: YES) in / home/admin/web/xenoshops.com/public_html/lib/class_db.php on line 83
Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /home/admin/web/xenoshops.com/public_html/lib/ class_db.php on line 426
Warning: mysqli_errno() expects parameter 1 to be mysqli, boolean given in /home/admin/web/xenoshops.com/public_html/lib/class_db.php on line 427
changing logins and passwords in config.ini .php does not help, you are the last hope of a noob to end this suffering :C
Answer the question
In order to leave comments, you need to log in
A database and a user for it must be created on the hosting.
The username, password, database name and hostname (it may well not be localhost on your hosting), registered in your site settings, must be the same as the database created for this project.
Also, if the site was developed somewhere and you do not have a fresh installation, but a transfer, you still need to upload the database dump to the hosting database.
Access denied for user 'admin_magaz'@'localhost'
changing logins and passwords in config.ini.php does not helpYou don't randomly put them in there, do you?
Look at a connection - where that is not correct. Or login, or password, as well as the server itself. Not always localhost
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question