[MySQL] Is it possible to re-install clean without having to remove php ?

Ryan Schmidt ryandesign at macports.org
Tue Jun 26 04:50:56 PDT 2007


On Jun 26, 2007, at 01:45, Bill Hernandez wrote:

> Thanks to all those that offered suggestions and feedback on the  
> MySQL problem I am having.
>
> I tried to remove MySQL in order to start over, in order to follow  
> the instructions and the advice more closely, but MacPorts didn't  
> like that idea very well unless I removed PHP, which rightfully so  
> depends on MySQL.
>
> It appears that my install is messed up beyond repair, and would  
> like to start over with MySQL, just remove it and re-install it...
>
> Is it possible to force it, or am I just looking for more trouble  
> unless I remove PHP first ?

Sure, uninstalling just mysql5 is possible:

$ sudo port -f uninstall mysql5

Since PHP depends on mysql5, PHP will fail to run (will crash) until  
you reinstall mysql5.





More information about the macports-users mailing list