![]() ![]() I've created a full step-by-step here: How to install MySQL on Lion (Mac OS X ) You need to set up your path environment too, and it's also good practise to set a root password while you're at it. 6 -x86_64 /usr / local /mysqlĮcho "PATH=\$PATH:/usr/local/mysql/bin" > ~ /.profileĬd /usr / local /mysql #this is essential ! once finished, untar the file and do this: mv path / to /mysql -5.6. It's even called mysql so you won't even know the difference.įirst. I'm using it with python-mysql and django. ![]() ![]() It builds on Lion.Įxisting mysql drivers and clients just work. You can install with 'brew install mariadb'. You should check out Sequel Pro if you need a great OS X tool to manage your MySQL databases.Ī drop in replacement for mysql is mariadb. You'll find this way much easier than compiling from source. I highly recommend choosing to install it for all users on the computer. After that, install the startup script using its installer and finally the preferences pane by double-clicking on it. Once the file is downloaded, double-click on the DMG, launch the installer and complete the installation. You can skip the registration form (there a little link under the signup form) and you should be on your way. Go to MySQL's community server download page, select Mac OS X as the platform and pick the DMG file. You can download a MySQL installer as a DMG file, complete with an installer, system preferences pane and a startup script directly from MySQL. Installation of system tables failed ! Examine the logs in /usr / local /var /mysql for more information. usr / local /bin /mysql_install_db: line 428: 15397 Done ġ5398 Done( 141) | eval "$filter_cmd_line"ġ5401 Segmentation fault: 11 | $mysqld_install_cmd_line > /dev / null Mysql_install_db -verbose -user=`whoami` -basedir="$(brew -prefix mysql)" -datadir=/usr/local/var/mysql -tmpdir=/tmp I'm currently trying to get MySQL working on OSX 10.7 Lion. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |