Current time: 12-23-2024, 06:13 PM Hello There, Guest! (LoginRegister)


Post Reply 
Help RC4 =>> RC5 Mysql error!
Author Message
olegka Offline
Newbie
*

Posts: 7
Joined: May 2007
Reputation: 0
Post: #1
Help RC4 =>> RC5 Mysql error!
Hi all.
Please forgive me my bad english!
After i update ispcp from rc5 to RC6, update script tell me all ok.
But, when i try go to the admin-interface i got error:

Connection failed: SQLSTATE[28000] [1045] Access denied for user 'ispcp_user_name'@'localhost' (using password: YES)

I trying change password (http://www.isp-control.net/ispcp/wiki/ho...changepw), change username...

Any ideas on how to fix this?
Thanks VERY BIG MUCH!
10-15-2008 06:48 AM
Find all posts by this user Quote this message in a reply
olegka Offline
Newbie
*

Posts: 7
Joined: May 2007
Reputation: 0
Post: #2
RE: Help RC4 =>> RC5 Mysql error!
All other sites, mqsql, passwords and bases work fine!
& When i replace in /var/www/ispcp/gui/include/sql.php on line 30 "Config::get('DB_PASS')," on my password - all work fine.
I think error in function "function decrypt_db_password ($db_pass)" in file /var/www/ispcp/gui/include/ispcp-config.php
Thanks!
(This post was last modified: 10-15-2008 09:57 AM by olegka.)
10-15-2008 09:14 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #3
RE: Help RC4 =>> RC5 Mysql error!
Maybe the password is not encrypted correctly - or had some signs/characters which could cause a problem.

You can do a change of the password - have a look here:
http://www.isp-control.net/ispcp/wiki/howto_dbchangepw

/Joxi
10-15-2008 03:33 PM
Visit this user's website Find all posts by this user Quote this message in a reply
olegka Offline
Newbie
*

Posts: 7
Joined: May 2007
Reputation: 0
Post: #4
RE: Help RC4 =>> RC5 Mysql error!
I do this. & i got the same error!
10-15-2008 08:43 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #5
RE: Help RC4 =>> RC5 Mysql error!
can you log in the database with the username and password?
eg. in pma or directly in mysql...
10-15-2008 08:59 PM
Visit this user's website Find all posts by this user Quote this message in a reply
olegka Offline
Newbie
*

Posts: 7
Joined: May 2007
Reputation: 0
Post: #6
RE: Help RC4 =>> RC5 Mysql error!
In pma, and directly in mysql i login correctly. Width same login\password
10-16-2008 07:35 PM
Find all posts by this user Quote this message in a reply
sci2tech Away
Senior Member
****

Posts: 1,285
Joined: Jan 2007
Reputation: 23
Post: #7
RE: Help RC4 =>> RC5 Mysql error!
Mysql password is not stored in clear in ispcp.conf. If your mysql password is in clear in ispcp.conf something is really wrong. In ispcp.conf is saved an hash that can be decrypted using values from ispcp-db-keys.pl in case of perl or gui/include/ispcp-db-keys.php in case of php.
10-16-2008 08:40 PM
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)