#19980: mysql5 failed after upgrade ------------------------------------+--------------------------------------- Reporter: Dormilich@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: mysql5 mysql5-server ------------------------------------+--------------------------------------- Comment(by Dormilich@…): Replying to [comment:2 ryandesign@…]:
Did you remember to stop the mysql 5.0.67 server before upgrading? If not, you need to stop that server now. You can restart the machine to do this, or you could probably also do it with mysqladmin.
up to now I didn't need to, though the new version was only available after a reboot.
What command did you use to try to start the mysql 5.0.83 server? The easiest way to start and stop the server is "sudo port load mysql5-server" and "sudo port unload mysql5-server".
that info should make it into the MAMP Howto …
found that neither the LaunchDaemon was linked, What do you mean "linked"? Do you just mean that the launchd plist didn't exist? If so, then that's correct; it's been moved to the new mysql5-server port.
the LaunchDaemon (/Library/LaunchDaemons/org.macports.mysql5.plist) is a symlink to the plist somewhere in the Macports directory (autostart). anyways, installing mysql5-server creates that.
after installing "mysql5-server @5.0.83_0" I got the link to the LaunchDaemon, but still no socket file (using the old socked file gave error (38)). Where are you looking for the new socket file? Where are you finding the old socket file?
/opt/local/var/run/mysqld.sock personal backup (yes, Apple's time machine sometimes proves useful)
deactivating "mysql5 @5.0.83_0" broke down the whole mysql (so I re- activated it). What do you mean "broke down"?
"/opt/local/bin/mysql not found" (something along that line) -- Ticket URL: <http://trac.macports.org/ticket/19980#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS