What hook is the currently active theme’s functions.php file loaded on? [duplicate]

It is included from /wp-settings.php right after the action setup_theme. Line number 423 as of WordPress 4.7

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