Probably a good idea to open up config.inc.php and look at the database settings and see if they are correct. If they look correct, might be worth posting lines 10-25 of adodb-mysql,inc.php. Its probably a file that doesn't need editing directly, but seeing the code that is throwing up the error might help solve the problem.
Blu