Header links also appearing in the footer

The correct way to get a specific menu is the 'theme_location' parameter:

wp_nav_menu(array('theme_location' => 'main_nav'));
wp_nav_menu(array('theme_location' => 'footer_links'));

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