WP Login Button for current domain

<?php wp_loginout(); ?>

Or

<a href="http://<?php bloginfo('url'); ?>/wp-login.php">Login</a>

What am I missing?

http://codex.wordpress.org/Function_Reference/wp_loginout

http://codex.wordpress.org/Function_Reference/bloginfo

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