Remove mysql, prefpane item, startup item.
then:
sudo rm -rf /Library/Receipts/mysql*
There is a good complete explanation of this here.
|
|||||
|
Remove mysql, prefpane item, startup item. sudo rm -rf /Library/Receipts/mysql* There is a good complete explanation of this here. To start, stop and disable mysql server from the command line: # start Thanks to this post, I discovered how to install the MySQL ruby gem on Mac OS X: sudo env ARCHFLAGS="-arch i386" gem install mysql — \ To get SchemaSpy working on Mac OS X, I: sudo port install graphviz Installed the MySQL JDBC drivers using MacPorts sudo port install mysql-connector-java Ran it like this: java -jar schemaSpy_4.0.0.jar -t mysql -dp /opt/local/var/macports/software/mysql-connector-java/5.0.7_0/opt/local/share/java/mysql-connector-java-5.0.jar -o <outputdir> -host localhost -db <dbname> -u <username> -p <password> If you installed the MySQLStartupItem that comes with mysql.com’s binary packaged MySQL server, you can: sudo /Library/StartupItems/MySQLCOM/MySQLCOM start to start the server. This applies to Leopard. Apparently under Tiger it had a different name. There are a couple of possible ways to install MySQL server on Mac OS X Leopard. Which one you take depends on what is available at mysql.com. When a new version of Mac OS come out, in the past it has taken mysql.com many months to come up with packaged binary releases of MySQL server [...] Download latest phpMyAdmin. tar xvf ~/phpMyAdmin-2.11.8.1-english.tar.bz2 Edit config.inc.php and set your blowfish secret to a random string: $cfg[’blowfish_secret’] = ‘ertyrtfghrty’; On Mac OS X Leopard, there appears to be an issue with PHP that you have to resolve by changing localhost to [...] The version of MySQL that comes preintsalled on MacOS X (Leopard) Server does not include client libraries and header files, as discussed here. The remedy as discussed here is to: tar xvfz MySQL-43.binaries.tar.gz To configure and start MySQL: |
|||||
|
Copyright © 2010 Sam Pierson's Blog - All Rights Reserved |
|||||