简体   繁体   中英

Install MySQL on Mac OS X Lion?

I have downloaded the MySQL community server and extracted the files from the .tar file. But how do I install it? I simply cannot find a easy way to to this, or any method for that matter. Or is it already installed after tar xvf MySQL.tar ? And also, when installing the .pkg version, shouldn't it create the files anywhere? Finally, the community server is the one used with django right?

Thanks in advance!

I would suggest using the .dmg version. It's an easier way of installing mysql, it can be a pain http://dev.mysql.com/downloads/mysql/

If you are developing and testing, do you really need to use MySQL? You can use sqlite which is bundled with Python.

As Vezu suggested, the best way to get started with the server is to download the binary installer - the mysql-5.5.24-osx10.6-x86.dmg file.

If you plan to use it with Python, you will also need to install MySQLdb for OSX. For that, see this answer for a link to steps you need to follow.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM