Current time: 04-20-2024, 08:15 PM Hello There, Guest! (LoginRegister)


Post Reply 
[solved] update 1.0.5 to 1.0.6: Unable to connect SQL server
Author Message
Endimmion Offline
Newbie
*

Posts: 5
Joined: May 2010
Reputation: 0
Post: #1
Question [solved] update 1.0.5 to 1.0.6: Unable to connect SQL server
Hi,

when upgrading from version 1.0.5 to 1.0.6 (on a Debian 5.0.6), I get the following error in the "Rebuilding all customers configuration files" section.:


Quote: Rebuilding all customers configuration files
Please wait, this may take some time:DEBUG: push_el() sub_name: update_old_disabled_dmn_layout(), msg: Starting...
DEBUG: push_el() sub_name: update_old_disabled_dmn_layout(), msg: Ending...
DEBUG: push_el() sub_name: rebuild_customers_cfg(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: Starting...
DEBUG: push_el() sub_name: doSQL(), msg: ERROR: Unable to connect SQL server !
Failed
DEBUG: push_el() sub_name: exit_msg(), msg: Starting...


I found the following thread http://isp-control.net/forum/thread-1162...ht=connect but I can't understand the solution.

Can someone help me solve this problem? thank you
I have try something, but I think it's getting worse:

I've use the following command:

/var/www/ispcp/engine/ispcp-db-passwd

to reset the good password for my root user


But now the update script stop at the "ispCP database" section, and I have the following error in the log:

Connection failed: SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
I have copy the value in :

$main::db_pass_key = '*****';

$main::db_pass_iv = '***';

in /var/www/ispcp/engine/ispcp-db-keys.pl


to /var/www/ispcp/gui/include/ispcp-db-keys.php


And finally the upgrade get successful
(This post was last modified: 11-13-2010 01:25 AM by Endimmion.)
11-13-2010 12:32 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)