« MODx Parse Error »

MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
 
PHP error debug
  Error: mysql_connect() [function.mysql-connect]: Client does not support authentication protocol requested by server; consider upgrading MySQL client 
  Error type/ Nr.: Warning - 2 
  File: /home/northsho/public_html/assets/snippets/nsi-custom/rate_video.php 
  Line: 9 
  Line 9 source: $sql=mysql_connect(localhost,$dbusername,$dbpassword) or die("Unable to connect to database");  
 
Parser timing
  MySQL: 0.0004 s(2 Requests)
  PHP: 0.0475 s 
  Total: 0.0478 s