MySQL
【mysqlで文字コードをutf8にする設定】 mysql -u root -p mysql> show variables like "chara%"; $ sudo vi /etc/my.cnf [mysqld] ... character-set-server=utf8 #mysqldセクションの末尾に追加 [client] default-character-set=utf8 #clientセクションを…
190708 16:23:20 Mysql 設定方法 【状況】 ・アプリgit clone後 Mysqlのパスワードの設定 $ mysql -u root mysql> update user set authentication_string=password(“パスワード“) where user=‘root’; mysql> flush privileges; mysql> exit $ mysql -u root…
190708 16:54:17 url:https://qiita.com/emahiro/items/1a63d676be9fc4975759 $ bundle install →error An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Make sure that `gem install mysql2 -v '0.5.2' --source 'https:…
cloud9 mysqlの導入で詰まった。エラーとその解決方法 #cloud9ターミナル上 ssh接続の設定の後(詳しくは後述の記事を参考に) $ bundle install #error発生 An error occurred while installing mysql2 (0.5.2), and Bundler cannot continue. Make sure th…
Ruby on Rails環境構築(再) 理由 復習 環境構築の流れを掴むため 再度やる場合どこまで省略できてどこをもう1度やらないといけないかを把握するため。 開発環境 mac os Mojave ver 10.14.3 Visual Studio Code ver バージョン1.33.0 (1.33.0) $ xcode-select…