Fatal error: Connection refused in

Hey there!

When installing, I get this error:

Fatal error : Uncaught Zend_Db_Adapter_Mysqli_Exception: Connection refused in /usr/home/mohern/public_html/mohern.pairserver.com/omeka/application/libraries/Zend/Db/Adapter/Mysqli.php:340 Stack trace: #0 /usr/home/mohern/public_html/mohern.pairserver.com/omeka/application/libraries/Zend/Db/Adapter/Mysqli.php(549): Zend_Db_Adapter_Mysqli->_connect() #1 /usr/home/mohern/public_html/mohern.pairserver.com/omeka/application/libraries/Omeka/Db.php(322): Zend_Db_Adapter_Mysqli->getServerVersion() #2 /usr/home/mohern/public_html/mohern.pairserver.com/omeka/application/libraries/Omeka/Db.php(56): Omeka_Db->_getInitCommand() #3 /usr/home/mohern/public_html/mohern.pairserver.com/omeka/application/libraries/Omeka/Application/Resource/Db.php(64): Omeka_Db->_construct(Object(Zend_Db_Adapter_Mysqli), 'omeka’) #4 /usr/home/mohern/public_html/mohern.pairserver.com/omeka/application/libraries/Zend/Application/Bootstrap/BootstrapAbstract.php(695): Omeka_Application_Resource_Db->init() #5 /usr/home/mohern/public_html/mohern.pairserver.com/ in /usr/home/mohern/public_html/mohern.pairserver.com/omeka/application/libraries/Zend/Db/Adapter/Mysqli.php on line 340

Line 340 appears to be:
throw new Zend_Db_Adapter_Mysqli_Exception(mysqli_connect_error());

Looks like someone else had this same issue last Summer with no responses (Error with Zend/connection refused)

Thanks for any help!

Typical fashion, as soon as I post something, I figure it out.

I had incorrect host name in the db.ini.