開発
VagrantでCentOS7の環境を新しく作って、 PHPやらApacheやらComposerやら色々導入して、Laravelで遊ぼうとしたときのこと。 とりあえず、http://<address>/<project_name>/public/ で初期画面見れてほっこり。 このとき、初期画面が見れるのは、routes/web.php に こんな感じでルー</project_name></address>…
vagrant up しようとしたら、以下のエラーが The VirtualBox VM was created with a user that doesn't match the current user running Vagrant. VirtualBox requires that the same user be used to manage the VM that was created. Please re-run Vagran…
文末の空白を消したいとき UPDATE [table_name] SET [column_name] = TRIM(TRAILING ' ' FROM [column_name]); 頭のとき UPDATE [table_name] SET [column_name] = TRIM(LEADING ' ' FROM [column_name]);