Page 1 of 1

Database error on installation

Posted: Sat May 18, 2019 7:45 pm
by mubeenhassan
i got this error in installation.
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: NO) in /home2/smarttec/clickshop.com.pk/system/library/db/mysqli.php on line 7Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home2/smarttec/clickshop.com.pk/system/library/db/mysqli.php on line 10Warning: DB\MySQLi::__construct(): Couldn't fetch mysqli in /home2/smarttec/clickshop.com.pk/system/library/db/mysqli.php on line 10Notice: Undefined variable: mysql in /home2/smarttec/clickshop.com.pk/install/controller/install/step_3.php on line 280Notice: Trying to get property of non-object in /home2/smarttec/clickshop.com.pk/install/controller/install/step_3.php on line 280


Please help me out.

Re: Database error on installation

Posted: Sat May 18, 2019 8:00 pm
by thekrotek
Error tells you everything: Access denied for user 'root'@'localhost. Check your credentials.

Re: Database error on installation

Posted: Mon May 20, 2019 5:38 pm
by paulfeakins
thekrotek wrote:
Sat May 18, 2019 8:00 pm
Error tells you everything: Access denied for user 'root'@'localhost. Check your credentials.
Also you should definitely not use your root credentials to connect to your database, this is a massive security risk.