将OSX升级到优胜美地或El

将OSX升级到优胜美地或El

本文介绍了将OSX升级到优胜美地或El Capitan时MySQL无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道存在类似的问题,例如带有MAMP的MySQL不适用于OSX Yosemite 10.10 .但是,我的计算机上确实没有安装MAMP,也没有安装XAMPP.

I know similar questions exist, such as MySQL with MAMP does not work with OSX Yosemite 10.10. However, I do have MAMP, nor XAMPP installed on my computer.

当我尝试从PrefPane启动mySQL时,什么也没发生.

When I try to start mySQL from the PrefPane, nothing happens.

当我尝试通过sudo /usr/local/mysql/support-files/mysql.server start从命令行启动mqSQL时,我得到:

When I try to start mqSQL from the command line via sudo /usr/local/mysql/support-files/mysql.server start I get:

任何人和所有帮助将不胜感激.我可以提供任何必要的文件输出.

Any and all help would be appreciated. I can supply any file output necessary.

推荐答案

按照以下说明安装最新的mySQL版本来解决:

Solved by installing the latest mySQL release, following the instructions here http://coolestguidesontheplanet.com/get-apache-mysql-php-phpmyadmin-working-osx-10-10-yosemite/

编辑
随着优胜美地的流行,越来越多的人在这个问题上绊脚石.上面的答案与升级MySQL有关,以便它可以运行. @doc在注释中链接的答案与使MySQL自动启动有关.这是2个独立的问题.

EDIT
As Yosemite gets more popular, more people are stumbling on this question. The answer above has to do with upgrading MySQL, so that it runs. The answer linked by @doc in the comments has to do with getting MySQL to start automatically. These are 2 separate issues.

这篇关于将OSX升级到优胜美地或El Capitan时MySQL无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 14:12