Is there a way to extract a single post better than using get_posts()?

I think I found how to do it: setting

   'numberposts'   => 1,

will retrieve only one (the first) post.

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