Init hook function to call other hook in function.php

perhaps running it on the user_register hook?

add_action( 'user_register', 'loadAfterUserRegistrationHook' );
    function loadAfterUserRegistrationHook(){
    add_action( 'user_meta_after_user_register', 'createNewPost' );  
}

See: http://codex.wordpress.org/Plugin_API/Action_Reference/register_form

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