What happened to the WordPress dashboard?

Navigate to http://yoursite.dev/wp-admin

If you are still getting redirected to the main site check your database, MAMP I beleive comes with PHPmyAdmin, login to that and check your SITE_URL in the WP_OPTIONS table and then check the WP_USERS table to see if your user account is still registered as an admin.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)