ispCP - Board - Support
Upgrade problem 1.0.5 to 1.0.7 - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Upgrade problem 1.0.5 to 1.0.7 (/thread-12913.html)



Upgrade problem 1.0.5 to 1.0.7 - NIIcK - 02-20-2011 02:30 AM

Hello,

I have tried to upgrade from 1.0.5 to 1.0.7 on Ubuntu Karmic but the update script seems to have a problem connecting to MySQL database:

Code:
ispCP database
         * Update ispCP database schema:                             [ Failed ]

        [FATAL] An error occurred during update process!
        Correct it and re-run this program.

The error is:

Code:
[ERROR]: Error: Unable to establish connection to the database! SQL returned: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

I have changed the password in /etc/ispcp/ispcp.conf using this tutorial:
http://isp-control.net/ispcp/wiki/howto_dbchangepw

I can connect to MySQL with the new password using the console commands however the upgrade script can't.

Please help.

Thank you,

Nick


RE: Upgrade problem 1.0.5 to 1.0.7 - NIIcK - 02-20-2011 05:48 AM

Seems that php5-common no longer installs mhash ... I have moved:

Code:
/etc/php5/conf.d/mhash.ini
to
/etc/php5/conf.d/mhash.ini.old
generated a new password, copied it over to
Code:
/etc/ispcp/ispcp.old.conf

and it seems to be working now ...