-1

I have an ecommerce website and i m trying to move from localhost windows to linux mint localhost.. I can log in to phpmyadmin , so i know the root and the password, i changed the config.inc.php and AllowNoPassword = True but when i try localhost/ecommerce i get access denied and Using PAssword (NO)..

$db = mysqli_connect('localhost', 'root', 'admin', 'ecommerce');
    if(mysqli_connect_errno()) {
        echo 'Database connection failed with following errors: '.mysqli_connect_error();
        die();
Dharman
  • 21,838
  • 18
  • 57
  • 107

0 Answers0