How to use wp_editor and save its data in wp_posts table

How to use wp_editor and save its data in wp_posts table

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