简体   繁体   English

无法在Snow Leopard中安装MySQL

[英]Trouble installing MySQL in Snow Leopard

I am having some problem installing MySQL in snow leopard. 我在雪豹中安装MySQL时遇到问题。

I also have these tutorials but I don't know which one is easier and fast to install. 我也有这些教程,但是我不知道哪个教程更容易安装。

Also, if I'm going to download the MySQL installer itself, what do I need to download from here? 另外,如果我要下载MySQL安装程序本身,我需要从这里下载什么? http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg

一旦安装了MySQL,除非已修复此问题,否则您将需要在'/ usr / local'中创建一个指向目录'mysql-5.0.83-osx10.5-x86'的'mysql'符号链接。 MySQL启动前的“ / local / usr”。

I've had great success with MacPorts , if you don't mind waiting a few minutes for it to compile. 如果您不介意等待几分钟以进行编译,则MacPorts取得了巨大的成功。

Once you install MacPorts, run the following to install MySQL 5.1: 安装MacPorts后,运行以下命令安装MySQL 5.1:

sudo port install mysql5-devel mysql5-server-devel

Or, for 5.0: 或者,对于5.0:

sudo port install mysql5 mysql5-server

此循序渐进的步骤将为您提供良好的安装,并将MySQL集成到已发布的产品中: hivelogic.com上的Snow Leopard上的mysql

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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