Software from Pai, Thailand

Error: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
Fatal error: Call to a member function prepare() on null in /home/yello20/public_html/paisoftware/downloads.php on line 16