Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Nov 2004 15:40:12 -0500
From:      Michael Stassen <Michael.Stassen@verizon.net>
To:        "W. D." <WD@US-Webmasters.com>
Cc:        FreeBSD-Questions@FreeBSD.org
Subject:   Re: Completely remove MySQL?
Message-ID:  <418E882C.6030203@verizon.net>
In-Reply-To: <5.1.0.14.2.20041107130001.071db340@209.152.117.178>
References:  <5.1.0.14.2.20041107130001.071db340@209.152.117.178>

next in thread | previous in thread | raw e-mail | index | archive | help
That's using a shotgun to kill a gnat.  The IP used by phpmyadmin is set in 
the config.inc.php file in the phpmyadmin directory.  Just edit this file to 
change the old setting to the new value.  Problem solved.

Reinstalling mysql and php, on the other hand, will have no effect. 
Reinstalling phpmyadmin may replace config.inc.php with default settings, 
but you'd still have to edit it to have the correct settings, so you may as 
well just edit the one you already have.

Michael

W. D. wrote:

> Hi Folks,
> 
> How does one completely remove MySQL from FreeBSD 4.9?
> 
> My router died, and upon replacement I switched to
> static IP addresses on my local network.  Unfortunately,
> When using phpMyAdmin to access a database, it
> tries to access the database at the old IP.
> 
> I can easily recreate the database--as well easily
> reinstall PHP, MySQL, and phpMyAdmin--but how do I
> remove everything so that the old IP address is
> not referenced?
> 
> By the way, where is this IP address being stored?
> 
> Thanks mucho for any light you can shed!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?418E882C.6030203>