Automated posting to wordpress from commandline or XMLRPC API on Dreamhost

Since you have shell access, you could use wp-cli:

wp eval-file your-posting-script.php

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