Webmail database problem

Just moved my site from one server to another and I am having a problem logging into the webmail addon. It seems to be pointing to the mysql database on my old server. How do I point it to the new mysql database on my new server?



Here is the error I get:



Error while parsing XML.

Error code 2.

Response text:



Warning: mysql_connect() [function.mysql-connect]: Can’t connect to MySQL server on ‘xxxxxxxxxx.db.45170.xxxxxxxxx.com’ (4) in /home/render/public_html/addons/webmail/lib/webmail/web/db/class_dbmysql.php on line 40



I x’d out the database name, but its the old database. How do i point it to the correct database?



Thanks for any help.