Is there any way to get post meta from publish_post hook?

Okay so it was resolved with do_action( 'acf/save_post', $post_id );

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