0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

MySQL

Posted at

MySQLの特徴

・オープンソースで基本的に無料
・Linux、macOS、windowsなど、様々な大規模なデータ処理にも耐えうる環境で使える。
・トランザクション、バックアップ、リストア機能がある。
・複数のユーザーで利用でき、ユーザーごとにアクセス権を設定できる

MySQLコマンド集

MySQLのインストール

$brew install mysql

MySQLの自動設定

$ brew services start mysql

MySQLの自動起動を止めたい時

$ brew services stop mysql

MySQLのコマンドが打てるかの確認

$ which mysql

「Yay! You're on Rails!」が表示されるまで

1$rails new アプリ名 --database=mysql
2 $bundle config --local・・
3 $rails webpacker:install
4 $bundle install
5 $rails db:create
6 $rails s

関連記事・引用

【MySQL】MacでMySQLを使う
https://qiita.com/aoaoao/items/47113848108f18c2db92
【MySQL】自動起動の意外な落とし穴
https://qiita.com/s_tatsuki/items/52314f1eada0a4bab716

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?