It looks like WordPress can’t connect to your database. In your wp-config.php file, try changing this line:
define('DB_HOST', 'localhost:3310');
to
define('DB_HOST', 'localhost:8889');
That’s the default MySQL port for MAMP. Please check your database username password as well.