Please check your config.inc file and ensure that the MAE::$dsn variable is set and points to a valid database.
config.inc
MAE::$dsn
Currently, either the database doesn't exist, the user doesn't exist, or the password in MAE::$dsn is incorrect.