XAMPP localhost - admin access denied Does anyone has issue with mac Xampp localhost? Everything seem fine after I imported online Drupal site and database to Xampp(1.8.2-4) localhost. However, after I hit the login button on the login page( [https://localhost/user][1] ), it gave me "access denied". That's mean I cant login at all.

Best,
CocoSkin



it gave me the error message after i run drush upwd admin --password=YOURNEWPASSWORD

~ here is the error message ~

HH5765-122A-M1:~ cocoskin$ cd /Applications/XAMPP/xamppfiles/htdocs
HH5765-122A-M1:htdocs cocoskin$ drush upwd admin --password=MYNEWPASSWORD
Command user-password needs a higher bootstrap level to run - you    [error]
will need to invoke drush from a more functional Drupal environment
to run this command.
The drush command 'upwd admin' could not be executed.                [error]
Drush was not able to start (bootstrap) the Drupal database.         [error]
Hint: This may occur when Drush is trying to:
 * bootstrap a site that has not been installed or does not have a
configured database. In this case you can select another site with a
working database setup by specifying the URI to use with the --uri
parameter on the command line. See `drush topic docs-aliases` for
details.
 * connect the database through a socket. The socket file may be
wrong or the php-cli may have no access to it in a jailed shell. See
http://drupal.org/node/1428638 for details.

Drush was attempting to connect to: 
 Drupal version         :  7.26                                  
 Site URI               :  http://default                        
 Database driver        :  mysql                                 
 Database username      :  test_drupal                           
 Database name          :  test_drupal                           
 Default theme          :  garland                               
 Administration theme   :  garland                               
 PHP executable         :  /usr/bin/php                          
 PHP configuration      :                                        
 PHP OS                 :  Darwin                                
 Drush version          :  6.0-rc4                               
 Drush configuration    :                                        
 Drush alias files      :                                        
 Drupal root            :  /Applications/XAMPP/xamppfiles/htdocs 
 Site path              :  sites/default                         
 File directory path    :  sites/default/files
If you are sure that your password is correct go to the Data base and empty( truncate) Sessions &amp; Flood and all cache(I mean all tables has prefix cache_) tables,finally  clear your browser cookie then try to login otherwise(If you are not sure about password) try to reset password programmatically