How to get all child pages in their parent page?

You should use this attribute in the $args array to get children of specific page by Parent ID

'child_of' => 20,

More information:
https://codex.wordpress.org/Function_Reference/get_pages

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