osx brew mysql

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了osx brew mysql相关的知识,希望对你有一定的参考价值。

MariaDB Server is available for installation on macOS (formerly Mac OS X) via the Homebrew package manager.

MariaDB Server is available as a Homebrew "bottle", a pre-compiled package. This means you can install it without having to build from source yourself. This saves time.

After installing Homebrew, MariaDB Server can be installed with this command:

brew install mariadb

After installation, start MariaDB Server:

mysql.server start

To auto-start MariaDB Server, use Homebrew‘s services functionality, which configures auto-start with the launchctl utility from launchd:

brew services start mariadb

After MariaDB Server is started, you can log in:

mysql -u root

 

refer: https://mariadb.com/kb/en/library/installing-mariadb-on-macos-using-homebrew/

以上是关于osx brew mysql的主要内容,如果未能解决你的问题,请参考以下文章

mac OSX 上 brew install hive

Homebrew(brew)安装MySQL成功后无法登录

sh OSX的Brew安装脚本

Brew无法找到git,即使git in path(Mac / OSX)

sh OSX脚本,方便启动和停止beanstalkd(brew版本)

Mac配置PHP+Nginx+MySQL开发环境