在Mac OS 10.6 Snow Leopard中无法启动MySql [英] can't start MySql in Mac OS 10.6 Snow Leopard

查看:119
本文介绍了在Mac OS 10.6 Snow Leopard中无法启动MySql的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用谷歌搜索了,找不到适用于苹果新操作系统SnowLeopard的新东西和有用的东西. 我想知道这是我的错误还是我需要做些什么?

这就是我所做的:

从mysql站点下载: http://dev.mysql.com/downloads/mysql/5.1.html #macosx-dmg 我选择:Mac OS X 10.5(x86_64)

我运行了所有软件包并安装了所有软件包. 所以现在我肯定有mysql

/usr/local/mysql/

但是,当尝试从首选项"面板中启动它时,它总是处于停止状态. 当我尝试执行操作时(在终端中):

/usr/local/mysql/bin/mysql

我得到了:

-bash:/usr/local/mysql/bin/mysql:可执行文件中的CPU类型错误

这是怎么了? 任何帮助将不胜感激.谢谢

解决方案

好吧...终于可以安装了! 为什么?还是我做了什么? 好吧,我不确定. 首先,我下载并安装了软件包(我从磁盘映像安装了所有文件(3)) 但我无法启动. (既不在偏好设置"面板中,也不在终端中)

第二秒钟,我将其删除并通过mac端口安装.

再次,同一件事.无法启动.

现在,我再次将其删除,并从软件包中安装了它. (我不确定这是否是完全相同的软件包,但我认为是) 只是这一次,我从另一个站点(它的镜像)获得了包裹.

网站:

http ://mirror.services.wisc.edu/mysql/Downloads/MySQL-5.1/mysql-5.1.37-osx10.5-x86.dmg

1.-安装mysql-5-1.37-osx10.5-x86.pkg

2.-安装MySQLStartupItem.pkg

3.-安装MySQL.prefpanel

这次运行正常(甚至是首选项"面板!)

没什么特别的,我不知道前两次发生了什么.

但是谢谢大家. 问候.

I've googled this and could'nt find anything new and useful for Apple's new OS SnowLeopard. I wonder if this is my mistake or I do need to do something?

this is what I did:

Downloaded from mysql site: http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg I choose : Mac OS X 10.5 (x86_64)

I run all the packages and installed all of them. So now I certainly have mysql in

/usr/local/mysql/

But when trying to start it from preferences panel, it is always STOPPED. When I try to do (in the terminal):

/usr/local/mysql/bin/mysql

I got :

-bash: /usr/local/mysql/bin/mysql: Bad CPU type in executable

What is wrong here? Any help would be very appreciated. Thanks

解决方案

Okay... Finally I could install it! Why? or what I did? well I am not sure. first I downloaded and installed the package (I installed all the files(3) from the disk image) but I couldn't start it. (nor from the preferences panel, nor from the termial)

second I removed it and installed through mac ports.

again, the same thing. could not start it.

Now I deleted it again, installed from the package. (i am not sure if it was the exact same package but I think it is) Only this time I got the package from another site(its a mirror).

the site:

http://www.mmisoftware.co.uk/weblog/2009/08/29/mac-os-x-10-6-snow-leopard-and-mysql/

and the link:

http://mirror.services.wisc.edu/mysql/Downloads/MySQL-5.1/mysql-5.1.37-osx10.5-x86.dmg

1.- install mysql-5-1.37-osx10.5-x86.pkg

2.- install MySQLStartupItem.pkg

3.- install MySQL.prefpanel

And this time is working fine (even the preferences panel!)

Nothing special, I don't know what happened the first two times.

But thank you all. Regards.

这篇关于在Mac OS 10.6 Snow Leopard中无法启动MySql的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆