2017-09-30から1日間の記事一覧
Exception: There was a problem connecting to the database: SQLSTATE[HY000] [2002] No such file or directory in [/Applications/MAMP/htdocs/hoge/vendor/robmorgan/phinx/src/Phinx/Db/Adapter/MysqlAdapter.php, line 115] のようなエラーに悩まされ…
全グループに実行権限を与える chmod a+x hoge.xx
mysql -u root -p でrootでパスワード付きでログイン終了はquit;ヘルプはhelp;データベース一覧 show databases; 使用するデータベースの決定 use hoge テーブル cterm show tables; |