Life is fun and easy!
不正IP報告数
Okan Sensor
ページへ戻る
印刷
HomeBrew/MySQL5.6
をテンプレートにして作成 ::
UJP
tech_regist2
:HomeBrew/MySQL5.6 をテンプレートにして作成
開始行:
*MySQL5.6.31のインストール
**はじめに
MySQL5.6.31をインストールする手順
**brew search mysqlでモジュールを確認
MySQL関連のモジュールを探す.
MBA2014:~ ujpadmin$ 🆑brew search mysql
automysqlbackup mysql++ ...
homebrew/versions/mysql55 mysql-cluster ...
homebrew/versions/mysql56🈁 mysql-connector-c ...
mysql mysql-connector-c++
MBA2014:~ ujpadmin$
今回は,musql56モジュールをインストールするので,情報を...
MBA2014:~ ujpadmin$ 🆑brew info homebrew/versions/mysql56
homebrew/versions/mysql56: stable 5.6.31 (bottled)🈁
Open source relational database management system
https://dev.mysql.com/doc/refman/5.6/en/
Conflicts with: mariadb, mysql-cluster, mysql-connector-...
Not installed
From: https://github.com/Homebrew/homebrew-versions/blob...
==> Dependencies
Build: cmake ✘🈁
Required: openssl ✔
==> Options
--universal
Build a universal binary
--with-archive-storage-engine
Compile with the ARCHIVE storage engine enabled
--with-blackhole-storage-engine
Compile with the BLACKHOLE storage engine enabled
--with-debug
Build with debug support
--with-embedded
Build the embedded server
--with-local-infile
Build with local infile loading support
--with-memcached
Enable innodb-memcached support
--with-tests
Build with unit tests
==> Caveats
A "/etc/my.cnf" from another install may interfere with ...
server starting up correctly.
To connect:
mysql -uroot
To have launchd start homebrew/versions/mysql56 now and ...
brew services start homebrew/versions/mysql56
Or, if you don't want/need a background service you can ...
/usr/local/opt/mysql56/bin/mysql.server start
MBA2014:~ ujpadmin$
cmakeが必要と出ている.
**インストールする.
brewコマンドでインストールする.
MBA2014:~ ujpadmin$ 🆑brew install homebrew/versions/mysq...
==> Installing mysql56 from homebrew/versions
==> Downloading https://homebrew.bintray.com/bottles-ver...
########################################################...
==> Pouring mysql56-5.6.31.yosemite.bottle.tar.gz
==> /usr/local/Cellar/mysql56/5.6.31/bin/mysql_install_d...
==> Caveats
A "/etc/my.cnf" from another install may interfere with ...
server starting up correctly.
To connect:
mysql -uroot
To have launchd start homebrew/versions/mysql56 now and ...
brew services start homebrew/versions/mysql56🈁
Or, if you don't want/need a background service you can ...
/usr/local/opt/mysql56/bin/mysql.server start🈁
==> Summary
🍺 /usr/local/Cellar/mysql56/5.6.31: 9,979 files, 314.3M
MBA2014:~ ujpadmin$
起動するときには,次のコマンドで.
/usr/local/opt/mysql56/bin/mysql.server start
起動してみる.
MBA2014:redmine ujpadmin$ 🆑/usr/local/opt/mysql56/bin/my...
Starting MySQL
.. SUCCESS!
MBA2014:redmine ujpadmin$
プロセスを確認.
MBA2014:redmine ujpadmin$ 🆑ps -ef|grep mysql
240633758 15725 1 0 2:39PM ttys003 0:00.02 /bi...
--datadir=/usr/local/var/mysql --pid-file=/usr/local/va...
240633758 15823 15725 0 2:39PM ttys003 0:00.47 /us...
--basedir=/usr/local/Cellar/mysql56/5.6.31 --datadir=/u...
mysql56/5.6.31/lib/plugin --log-error=/usr/local/var/my...
MBA2014.local.pid
240633758 15854 81146 0 2:39PM ttys003 0:00.00 gre...
MBA2014:redmine ujpadmin$
MySQLモニターを使って接続して切断する.
MBA2014:redmine ujpadmin$ 🆑mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.31 Homebrew🈁
Copyright (c) 2000, 2016, Oracle and/or its affiliates. ...
Oracle is a registered trademark of Oracle Corporation a...
affiliates. Other names may be trademarks of their respe...
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the cu...
mysql> 🆑quit
Bye🈁
MBA2014:redmine ujpadmin$
停止してプロセスがなくなるところを確認する.
/usr/local/opt/mysql56/bin/mysql.server stop
MBA2014:redmine ujpadmin$ 🆑/usr/local/opt/mysql56/bin/my...
Shutting down MySQL
.. SUCCESS!
MBA2014:redmine ujpadmin$ 🆑ps -ef|grep mysql
240633758 16609 81146 0 2:42PM ttys003 0:00.00 gre...
MBA2014:redmine ujpadmin$
停止した.
終了行:
*MySQL5.6.31のインストール
**はじめに
MySQL5.6.31をインストールする手順
**brew search mysqlでモジュールを確認
MySQL関連のモジュールを探す.
MBA2014:~ ujpadmin$ 🆑brew search mysql
automysqlbackup mysql++ ...
homebrew/versions/mysql55 mysql-cluster ...
homebrew/versions/mysql56🈁 mysql-connector-c ...
mysql mysql-connector-c++
MBA2014:~ ujpadmin$
今回は,musql56モジュールをインストールするので,情報を...
MBA2014:~ ujpadmin$ 🆑brew info homebrew/versions/mysql56
homebrew/versions/mysql56: stable 5.6.31 (bottled)🈁
Open source relational database management system
https://dev.mysql.com/doc/refman/5.6/en/
Conflicts with: mariadb, mysql-cluster, mysql-connector-...
Not installed
From: https://github.com/Homebrew/homebrew-versions/blob...
==> Dependencies
Build: cmake ✘🈁
Required: openssl ✔
==> Options
--universal
Build a universal binary
--with-archive-storage-engine
Compile with the ARCHIVE storage engine enabled
--with-blackhole-storage-engine
Compile with the BLACKHOLE storage engine enabled
--with-debug
Build with debug support
--with-embedded
Build the embedded server
--with-local-infile
Build with local infile loading support
--with-memcached
Enable innodb-memcached support
--with-tests
Build with unit tests
==> Caveats
A "/etc/my.cnf" from another install may interfere with ...
server starting up correctly.
To connect:
mysql -uroot
To have launchd start homebrew/versions/mysql56 now and ...
brew services start homebrew/versions/mysql56
Or, if you don't want/need a background service you can ...
/usr/local/opt/mysql56/bin/mysql.server start
MBA2014:~ ujpadmin$
cmakeが必要と出ている.
**インストールする.
brewコマンドでインストールする.
MBA2014:~ ujpadmin$ 🆑brew install homebrew/versions/mysq...
==> Installing mysql56 from homebrew/versions
==> Downloading https://homebrew.bintray.com/bottles-ver...
########################################################...
==> Pouring mysql56-5.6.31.yosemite.bottle.tar.gz
==> /usr/local/Cellar/mysql56/5.6.31/bin/mysql_install_d...
==> Caveats
A "/etc/my.cnf" from another install may interfere with ...
server starting up correctly.
To connect:
mysql -uroot
To have launchd start homebrew/versions/mysql56 now and ...
brew services start homebrew/versions/mysql56🈁
Or, if you don't want/need a background service you can ...
/usr/local/opt/mysql56/bin/mysql.server start🈁
==> Summary
🍺 /usr/local/Cellar/mysql56/5.6.31: 9,979 files, 314.3M
MBA2014:~ ujpadmin$
起動するときには,次のコマンドで.
/usr/local/opt/mysql56/bin/mysql.server start
起動してみる.
MBA2014:redmine ujpadmin$ 🆑/usr/local/opt/mysql56/bin/my...
Starting MySQL
.. SUCCESS!
MBA2014:redmine ujpadmin$
プロセスを確認.
MBA2014:redmine ujpadmin$ 🆑ps -ef|grep mysql
240633758 15725 1 0 2:39PM ttys003 0:00.02 /bi...
--datadir=/usr/local/var/mysql --pid-file=/usr/local/va...
240633758 15823 15725 0 2:39PM ttys003 0:00.47 /us...
--basedir=/usr/local/Cellar/mysql56/5.6.31 --datadir=/u...
mysql56/5.6.31/lib/plugin --log-error=/usr/local/var/my...
MBA2014.local.pid
240633758 15854 81146 0 2:39PM ttys003 0:00.00 gre...
MBA2014:redmine ujpadmin$
MySQLモニターを使って接続して切断する.
MBA2014:redmine ujpadmin$ 🆑mysql -uroot
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.6.31 Homebrew🈁
Copyright (c) 2000, 2016, Oracle and/or its affiliates. ...
Oracle is a registered trademark of Oracle Corporation a...
affiliates. Other names may be trademarks of their respe...
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the cu...
mysql> 🆑quit
Bye🈁
MBA2014:redmine ujpadmin$
停止してプロセスがなくなるところを確認する.
/usr/local/opt/mysql56/bin/mysql.server stop
MBA2014:redmine ujpadmin$ 🆑/usr/local/opt/mysql56/bin/my...
Shutting down MySQL
.. SUCCESS!
MBA2014:redmine ujpadmin$ 🆑ps -ef|grep mysql
240633758 16609 81146 0 2:42PM ttys003 0:00.00 gre...
MBA2014:redmine ujpadmin$
停止した.
ページ名: