How to get MySQL server working after OSX Yosemite upgrade?

╄→гoц情女王★ 提交于 2020-01-14 10:37:32

问题


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.

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....


回答1:


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.

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




回答2:


Just Start MySQL Server! It worked for me.



来源:https://stackoverflow.com/questions/26514757/how-to-get-mysql-server-working-after-osx-yosemite-upgrade

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!