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/

相关文章:

  • 2022-01-17
  • 2022-12-23
  • 2022-02-13
  • 2021-09-09
  • 2022-01-08
  • 2022-12-23
  • 2021-10-22
  • 2022-12-23
猜你喜欢
  • 2021-06-04
  • 2021-08-02
  • 2021-12-23
  • 2022-01-05
  • 2022-12-23
  • 2022-12-23
  • 2021-06-19
相关资源
相似解决方案