OSX Yosemite升级后如何使MySQL服务器正常工作? [英] How to get MySQL server working after OSX Yosemite upgrade?

查看:112
本文介绍了OSX Yosemite升级后如何使MySQL服务器正常工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将Mac从Mavericks OSX升级到Yosemite之后,我的本地Apache和MySQL服务器设置不再起作用.感谢 Apache localhost/〜username/无法正常工作,我才得到了Apache服务器工作正常,但我的Joomla应用程序现在指示它无法访问MySQL数据库; Phpmyadmin工具也不能.

After I upgraded my Mac from Mavericks OSX to Yosemite, my local Apache and MySQL server setup did not work anymore. Thanks to Apache localhost/~username/ not working I just got the Apache server working but my Joomla application now indicates it can't access the MySQL database; neither can the Phpmyadmin tool.

如何解决此问题?我已经看到了有关为优胜美地安装MySQL的说明(

How to fix this? I've seen instructions for installing MySQL for Yosemite (https://www.computersnyou.com/3376/setup-apache-php-mysql-macosx-10-10-yosemite/) but I'm not sure whether that's the best way forward as my Joomla application still needs to access the existing MySQL db information? E.g., I don't want to lose my existing saved database info of various web applications....

推荐答案

如果您在Mavericks上运行的mysql本机版本正常,则mysql首选项窗格仍应在首选项中可见,只需单击首选项窗格并启动mysql.

If you had a working native version of mysql working on Mavericks, the mysql preference pane should be still visible in the preferences, just click on the preference pane and start mysql.

唯一的问题是mysql无法在启动时自动启动,这可以通过以下步骤解决: https://stackoverflow .com/a/26465743/580173

Only problem is that mysql does not auto-start on boot, this can be solved by following these steps: https://stackoverflow.com/a/26465743/580173

这篇关于OSX Yosemite升级后如何使MySQL服务器正常工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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