Notebook
Welcome on Notebook.
MySQL
New database
mysql
CREATE DATABASE my_project_database;
CREATE USER 'my_project_user'@'localhost' IDENTIFIED WITH mysql_native_password BY 'secret_password';
GRANT ALL ON my_project_database.* TO 'my_project_user'@'localhost';
Laravel
Production rights
sudo chown -R $USER:www-data * ; sudo chmod -R ug+rwx storage bootstrap/cache
Reload .env
rm bootstrap/cache/config.php
php artisan config:cache
php artisan config:clear
php artisan cache:clear
Table of Contents