Zenphoto encountered an error

MySQL Error: The database is connected, but MySQL returned the error Access denied for user 'mark99_mark'@'localhost' to database 'mark99_pics' when Zenphoto tried to select the database mark99_pics.