I do now know the password - it is just password .
But if I run this:
./install_amp --username=root --password=password
Still get same Connecting to database..FAILED
It prompts and says Try running
./install_amp --username=user --password=pass
I can confirm password is password as if I do this:
mysql -u root -p
And enter password - it works!
Is it because some AMP configuration file has a different password entered?
Any ideas?
Angus
----- Original Message -----
From: "Greg MacLellan" <greg-CY1sBI3kB+yCTJBLA7L3PwC/G2K4zDHf@xxxxxxxxxxxxxxxx>
To: <amportal-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx>
Sent: Friday, July 22, 2005 4:54 PM
Subject: Re: [Amportal-users] How to remove AMP so can start again
Angus Comber wrote:
Hello
I think I messed up with the last bit - install_amp
I might have screwed up putting in a password I cannot remember ;)
If I try to install_amp again I get:
linux:/usr/src/AMP # ./install_amp
Checking for PEAR DB..OK
Checking for PEAR Console::Getopt..OK
Checking user..OK
Checking for /etc/amportal.conf..OK
Reading /etc/amportal.conf..OK
Connecting to database..FAILED
Try running ./install_amp --username=user --password=pass (using your
own user and pass)
[FATAL] Cannot connect to database
linux:/usr/src/AMP #
Is it best to totally clean out AMP? If so how do I do that? Or is
there another way to resolve this problem?
This is showing that it can't connect to MySQL. Reinstalling AMP won't do
a thing, because MySQL is seperate. You need to reset the password for
asterisk on MySQL.
From the promt, run:
# *mysql -u root -p*
Then:
mysql> *UPDATE mysql.user SET Password=PASSWORD('newpassword') WHERE
User='asterisk';*/
/If you don't know the root (or admin) password, then you'll have to
google for how to reset that.
- Greg MacLellan
/
/
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Amportal-users mailing list
Amportal-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@xxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/amportal-users
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
|