Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th June 2009, 10:41
netmastan netmastan is offline
Junior Member
 
Join Date: Feb 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default where mysql db information in ispconfig3

Hi Guys,

We forgot the root password of mysql datbase. So, we reset the password.
Now, isp config login is not working
Code:
Access denied for user 'ispconfig'@'localhost' (using password: YES) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 73

can someone tell me why the config.inc.php file is empty? Where ISP config keeps the datbase login and password. Even it tried manually typed password in db_mysql_inc.php file(Changed classes private variable) and change password in the database from phpmyadmin.. it didn't work.

We had debain-maint user login issue but managed to fix it by copying password from /etc/mysql/debian.cnf and put it in the mysql user database.


Regards
Reply With Quote
Sponsored Links
  #2  
Old 6th June 2009, 10:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 34,586
Thanks: 792
Thanked 4,983 Times in 3,903 Posts
Default

You did not reset the root password, according to the error message you reset the password for the ispconfig user. This wa a very bad idea because this password is used in many config files all over the operating system. Take a look at the files in /etc/postfix, /etc/courier, /etc/pam.d/, /usr/local/ispconfig/server/lib/config.inc.php and /usr/local/ispconfig/interface/lib/config.inc.php
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 8th June 2009, 13:39
netmastan netmastan is offline
Junior Member
 
Join Date: Feb 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the information. I managed get it fixed by copying the old password from php file and run sql query on the database.
Reply With Quote
  #4  
Old 27th October 2013, 16:13
m4l41k4t m4l41k4t is offline
Member
 
Join Date: May 2012
Posts: 32
Thanks: 11
Thanked 0 Times in 0 Posts
Default

hi,
I need help.
The problem is I forgot the root password for my mysql ISPConfig.
I check the file:
/ usr / local / ISPConfig / server / lib / config.inc.php and
/ usr / local / ISPConfig / interface / lib / config.inc.php
but password enscript, how can I find out the password?

The following contents :

//** Database
$conf['db_type'] = 'mysql';
$conf['db_host'] = 'localhost';
$conf['db_database'] = 'dbispconfig';
$conf['db_user'] = 'ispconfig';
$conf['db_password'] = '55a1975966384afad53c2bb8f188b9bb';

My system :
OS : CentOS 6.4 64bit
ISPConfig Version : 3.0.5.3
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing MySQL on suse 10.3 Txchaser Installation/Configuration 20 18th April 2008 01:05
Management/system config/settings & /server/settings not working!! dactor Installation/Configuration 9 6th February 2008 09:11
log files cruz Technical 3 15th May 2007 14:35
Messed up ISPConfig-2.2.8 Upgrade Morons Installation/Configuration 4 29th November 2006 12:17
Mandriva 10.2 Perfect Setup Install Problems... ctroyp Installation/Configuration 12 30th December 2005 16:04


All times are GMT +2. The time now is 14:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.