cyberwhe.blogg.se

Mysql on mac terminal
Mysql on mac terminal





mysql on mac terminal

The MySQL server is up and running, but it has 4 user accounts with empty passwords. If it doesn't, simply edit the file with your preferred text editor, Vim. To ensure that MySQL starts after a reboot, make sure that /etc/hostconfig contains the line MYSQLCOM=-YES. You can start the server manually by issuing sudo /Library/StartupItems/MySQLCOM/MySQLCOM start at the command prompt. MySQLStartupItem.pkg installs in /Library/StartupItems/MySQLCOM. $ sudo hdiutil detach /Volumes/mysql-5.0.37-osx10.4-i686/ Start Up $ sudo installer -pkg MySQLStartupItem.pkg -target "/" $ sudo installer -pkg mysql-5.0. -target "/" Commands follow remember the '$' indicates the shell prompt.

mysql on mac terminal

You need to use hdiutil to mount the disk image, installer to install the packages (both the main package and the startup package), and then back to hdiutil to detach the disk image. If you're familiar with installing software remotely in Mac OS X, you'll recognize the mantra: Mount - Install - Detach. Copy the link to your clipboard and use Terminal and ssh to log into the remote Mac. After navigating the myriad of pages necessary to make your final selection regarding which version and platform you will be installing on, you should finally end up on a page that starts the download.

mysql on mac terminal

Therefore, you might find it easier to go straight to the MySQL downloads page. Important commands: hdiutil, installer, wget Downloadįor some reason, MySQL's main page has become nearly unreadable. If you are using a Power PC based system, make sure you get the proper version of MySQL. Note: This install occured on a Mac mini.







Mysql on mac terminal