How to automate creating pages on a hosted wordpress from a local set of folders?

How to automate creating pages on a hosted wordpress from a local set of folders?

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