Current time: 12-22-2024, 05:27 PM Hello There, Guest! (LoginRegister)


Post Reply 
Update db error
Author Message
Alex1 Offline
Junior Member
*

Posts: 96
Joined: Nov 2008
Reputation: 0
Post: #1
Update db error
When i want to update to 1.0.7 out this


Starting ispCP update
* Stopping services: .......... [ Done ]

ispCP main configuration file

Pre-installation tasks for Debian
* Postgrey configuration (Updating listening port): [ Done ]
* Loading old ispCP configuration file: [ Done ]
* Update ispCP configuration file: [ Done ]
* Check ispCP configuration file: [ Done ]
* Update ispCP key configuration file: [ Done ]

ispCP database
* Update ispCP database schema: [ Failed ]

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

Log files are stored in /var/log/ispcp/setup
You can also find help at http://isp-control.net/forum

ispcp-update.log

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

StackTrace:
#0 /var/www/ispcp/gui/include/ispCP/Initializer.php(201): ispCP_Initializer->_initializeDatabase()
#1 /var/www/ispcp/gui/include/ispCP/Initializer.php(102): ispCP_Initializer->_processCLI()
#2 /var/www/ispcp/gui/include/environment.php(236): ispCP_Initializer::run(Object(ispCP_Config_Handler_File))
#3 /var/www/ispcp/gui/include/ispcp-lib.php(114): require_once('/var/www/ispcp/...')
#4 /var/www/ispcp/engine/setup/updDB.php(44): require_once('/var/www/ispcp/...')
#5 {main}



sys_command_rs() | Ending...
getCmdExitValue() | Starting...
getCmdExitValue() | [DEBUG] External command exited with value 1
getCmdExitValue() | Ending...
exit_msg() | Starting...
exit_msg() | Ending...
del_file() | Starting...
del_file() | Ending...
(This post was last modified: 01-13-2011 08:26 AM by Alex1.)
01-13-2011 08:19 AM
Find all posts by this user Quote this message in a reply
Tjodalf Offline


Posts: 1
Joined: Jun 2010
Reputation: 0
Post: #2
RE: Update db error
(01-13-2011 08:19 AM)Alex1 Wrote:  When i want to update to 1.0.7 out this

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

Same problem here, I've checked ispcp.old.config many times but no success.
I can login to mysql console with the user/pw combination, but ispcp refuses to update....

OS is Lenny, ispCP Version: 1.0.7 RC

Thx in advance

Tjodalf
03-07-2011 08:35 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #3
RE: Update db error
Try to set a New MySQL Root Pw and restart upgrade. Then it should work Wink
03-08-2011 12:20 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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