[support] Database error on migrating site

Marty Landman mlandman at face2interface.com
Thu Jun 16 15:52:00 UTC 2011


Could be the old cache is still pointing to your old DB access. Can 
you go into phpmyadmin or mysql from the shell and truncate (clear 
out) all the tables beginning with 'cache'?

At 11:47 AM 6/16/2011, Mutuku Ndeti wrote:
>Hellos,
>
>I moved a website from server A to B.
>
>my db connection settings on server A were $db_url =
>'mysqli://userold:passold@localhost/dbold'; and on the new server
>$db_url = 'mysqli://usernew:passnew@localhost/dbnew';
>
>I am getting a white "under maintenance screen" with error "The mysqli
>error was: Access denied for user 'userold'@'localhost' (using
>password: YES)."
>
>There is no trace of userold in the settings.php file
>
>what could be the problem?
>--
>Tel:254722490994
>www.agile.co.ke | www.zetu.co.ke
>--
>[ Drupal support list | http://lists.drupal.org/ ]



More information about the support mailing list