Theme removed “Edit Post” link on the front end. I wish it back

ok, in a straight WP theme file (single.php) i simply found

                    the_content();

and placed this after it since i wasn’t worried about the placement of the link too much:

                    edit_post_link( $link, $before, $after, get_the_ID() );

worked great.

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