osx brew mysql
2019-01-12 22:06 brookin 阅读(268) 评论(0) 编辑 收藏 举报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/
出处:http://www.cnblogs.com/brookin/
本文采用知识共享署名-非商业性使用-相同方式共享 2.5 中国大陆许可协议进行许可,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接。