「MacOSにMariaDBを入れる」の版間の差分

提供: MonoBook
ナビゲーションに移動 検索に移動
(ページの作成:「homebrewからぶち込め。 <source lang="bash"> $ brew install mariadb ==> mariadb A "/etc/my.cnf" from another install may interfere with a Homebrew-built server…」)
 
 
13行目: 13行目:
 
   mysql.server start
 
   mysql.server start
 
</source>
 
</source>
 +
 +
== 接続 ==
 +
インストール中のメッセージによると[[localhost]]からしか接続できないようになっているそうだ。
 +
 +
== 起動 ==
 +
インストール中のメッセージによるとMariaDBの起動は以下のコマンドで行えとしている。
 +
* 恒常的な起動は:brew services start mariadb
 +
* 単発的な起動は:mysql.server start
  
 
[[category: macOS]]
 
[[category: macOS]]
 
[[category: MariaDB]]
 
[[category: MariaDB]]

2020年5月19日 (火) 03:20時点における最新版

homebrewからぶち込め。

$ brew install mariadb
==> mariadb
A "/etc/my.cnf" from another install may interfere with a Homebrew-built
server starting up correctly.

MySQL is configured to only allow connections from localhost by default

To have launchd start mariadb now and restart at login:
  brew services start mariadb
Or, if you don't want/need a background service you can just run:
  mysql.server start

接続[編集 | ソースを編集]

インストール中のメッセージによるとlocalhostからしか接続できないようになっているそうだ。

起動[編集 | ソースを編集]

インストール中のメッセージによるとMariaDBの起動は以下のコマンドで行えとしている。

  • 恒常的な起動は:brew services start mariadb
  • 単発的な起動は:mysql.server start