Problem with Create Post using metaWeblog.newPost or wp_insert_post

Probably because your post is saved as draft. Try to set the post status to publish inside your $content array. E.g.

$content['post_status'] = 'publish';

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