What is the p parameter in a get_posts() parameter array?

‘p’ is for querying a post, as opposed to ‘page_id’ for querying a page.

It’s documented in the WP_Query codex

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