Current time: 11-01-2024, 11:04 AM Hello There, Guest! (LoginRegister)


Post Reply 
[URGENT] ftp & phpmyadmin fail
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #5
RE: [URGENT] ftp & phpmyadmin fail
Well, you will have to restore the pma user password and prepare a new configuration file:

1. Connect to mysql and change the 'pma' user password
Code:
mysql -uroot -p    (you will be asked root's mysql password)
... Blah blah mysql connected.
> USE mysql;
> UPDATE mysql.user SET Password=PASSWORD('newpass') WHERE User='pma';
> FLUSH PRIVILEGES;

2. Go to pma's folder, remove the current config file and grab the original one from subversion:
Code:
cd /var/www/ispcp/tools/pma/
rm config.inc.php
wget http://www.isp-control.net/ispcp/export/1714/tags/omega-1.0.0/gui/tools/pma/config.inc.php

3. Replace these values from the grabbed file:
PHP Code:
...
$cfg['Servers'][$i]['host']             = 'localhost';
...
$cfg['Servers'][$i]['controluser']         = 'pma';
$cfg['Servers'][$i]['controlpass']         = 'newpass';
... 

4. Give me a reputation point Tongue
(This post was last modified: 04-28-2009 02:41 AM by kilburn.)
04-28-2009 02:41 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
[URGENT] ftp & phpmyadmin fail - Arturo2 - 04-28-2009, 01:28 AM
RE: [URGENT] ftp & phpmyadmin fail - kilburn - 04-28-2009 02:41 AM
RE: [URGENT] ftp & phpmyadmin fail - Lucan - 04-29-2009, 02:10 AM

Forum Jump:


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