LoginSignup
0

More than 5 years have passed since last update.

(Windows10、laravel) homesteadのDBクライアントのインストールと接続

Last updated at Posted at 2019-01-13

Windows10環境に構築したhomesteadのデータ操作のためにMysql クライアントをインストールしhomesteadへの接続を設定します。

前提条件

homestead:7.20.0
homesteadはHomestead.yamlのsites以外は初期設定

MySQL Workbenchのインストール

  • Visual C++ 2015 Restributableのインストール
    Visual C++ 2015 Restributable

  • MySQL Workbenchをインストール
    MySQL Workbench

  • MySQL Workbenchのホーム画面下部のAdd Connectionボタンから下記のパラメータでコネクションを追加

SSH Hostname: 192.168.10.10
SSH username: vagrant
SSH password: (not used)
SSH key file: <<homestead接続用のsshkeyのprivatekeyのパス>>
MySql hostname: 127.0.0.1
MySQL ServerPort: 3306
username: homestead
password: secret


参考

https://laracasts.com/discuss/channels/general-discussion/homestead-unable-to-connect-with-mysql-workbench-to-mysql-database

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