logo       

Re: How to remove AMP so can start again: msg#00188

Subject: Re: How to remove AMP so can start again
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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe