How to read newpost return post ID value as integer for xmlrpc

use it like this:

$post_id = (int) $remote_id;

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