How do you run code on a specific page without missing the init hook?

How do you run code on a specific page without missing the init hook?

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