Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340

Warning: preg_replace(): Compilation failed: invalid range in character class at offset 4 in /home/it-bootcamp/i-b-c.jp/public_html/java/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php on line 340
データベース構築 – java
データベース構築 ?>

データベース構築

MariaDBとは

MariaDBとは、「MySQL」から派生したオープンソースリレーショナルデータベースシステムです。拡張性/処理性能/高品質が評価され、世界中で急速にシェアを拡大しており、Googleや数多くのLinuxディストリビューションでも、「MySQL」に代わって「MariaDB」が採用されています。

MariaDBは、MySQLのオリジナルコード開発者である「Michael “Monty” Widenius」氏らのプロジェクトによって開発されているオープンソースリレーショナルデータベースです。

MySQLのブランチに相当し、MySQLとの互換性を保ちつつ、性能/堅牢性を高めるための独自機能を備えています。MySQLとの互換性を保ちつつも、よりよいデータベースとなることを目指し開発されています。

その開発精度の高さや緻密さが世界中のエンジニアから評価され、ダウンロード数が急増し、シェアを急速に拡大しています。Googleのシステムに採用されたり、代表的Linuxディストリビューションにおいて、MySQLに代わってMariaDBが標準データベースになっています。

MariaDBには、5.5系(MySQL5.5以前の完全互換を重視)と10.0系(フォーク)の2つの系統が存在します。

MariaDBをインストールする

Installing MariaDB Server on macOS Using Homebrew(公式サイトリファレンス)
https://mariadb.com/kb/en/mariadb/installing-mariadb-on-macos-using-homebrew/

 

 

MACにMariaDBをインストールするにはターミナルを使用します。まずはランチャーパッドからターミナルを起動してください。

スクリーンショット 2017-03-31 午後9.27.11

homebrewでmariadbをインストール出来るか確認します。

brew update
brew search mariadb

スクリーンショット 2017-03-31 午後9.28.23

homebrewについては下記のサイトで確認してください。

Macのツールを楽にインストールできるパッケージ管理システムHomebrewの使い方
http://millkeyweb.com/installing-homebrew/

 

homebrewにはMariaDBも用意されているので、ここからインストールします。

brew install mariadb

スクリーンショット 2017-03-31 午後9.34.03

インストールが完了したらMariaDBを起動します。

mysql.server start

スクリーンショット 2017-03-31 午後9.40.15

サーバーの停止は以下のコマンドです。

mysql.server stop

スクリーンショット 2017-03-31 午後9.41.27

MySQL Workbenchのダウンロード

以下のリンクからMySQL Workbenchのサイトへアクセスします。

https://dev.mysql.com/downloads/workbench/

スクリーンショット 2017-03-31 午後9.48.31

ページ下部の方にダウンロードボタンがあるので、お使いのOSに合わせてセレクトボックスを選択し、ダウンロードボタンを押下します。

スクリーンショット 2017-03-31 午後9.49.31

ログイン要求の画面に遷移しますが、「No thanks, just start my download.」を選択するとアカウント不要でダウンロード出来ます。

スクリーンショット 2017-03-31 午後9.53.31

ダウンロードダイアログが表示されたら任意の場所にダウンロードしてください。

ダウンロードした後は、それぞれの環境に合わせてインストールウィザードを起動してインストールを完了してください。

ローカルDBへの接続

インストール後、MySQL Workbenchを起動して、新規コネクションを作成します。

接続設定画面では以下のように設定していきます。

Connection Name:MariaDB
Password:空文字(何も入力しません)
Default Schema:test

スクリーンショット 2017-04-01 午前2.42.05

Test Connectionボタンを押下すると以下のような確認ダイアログが表示されますが、[Continue Anyway]を選択します。最後にOKボタンを押下して接続設定を完了します。

スクリーンショット 2017-04-01 午前2.47.33

HOME画面が以下のようになっていれば問題ありません。

スクリーンショット 2017-04-01 午前2.50.20

以上でデータベースの基本設定は完了です。