i cloned a Laravel 5 project and try to run it . i got some errors in composer install composer update php artisan migrate
(actually all of "php aritsan" commands)
i got this error :
In Connector.php line 70:
SQLSTATE[HY000] [2006] MySQL server has gone away
In Connector.php line 70:
PDO::__construct(): Error while reading greeting packet. PID=21464
this is my .env
APP_NAME="Mode"
APP_TITLE="Mode"
APP_ENV="live"
APP_KEY=base64:W8Uq******************
APP_DEBUG="true"
APP_LOG_LEVEL=debug
APP_URL=http://localhost:82
APP_LOCALE=fa
APP_TIMEZONE="Asia/Tehran"
ADMINISTRATOR_USERNAMES="admin"
ALLOW_REGISTRATION=true
LOG_CHANNEL=stack
DB_CONNECTION=mysql
DB_HOST="localhost:82"
DB_PORT="3306"
DB_DATABASE="mode"
DB_USERNAME="root"
DB_PASSWORD=""
BROADCAST_DRIVER=pusher
CACHE_DRIVER=file
SESSION_DRIVER=file
QUEUE_CONNECTION=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379
i tried " php artisan clear " but i got same error .
i am trying to run this project on local . i use php 7.4 i use wamp.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire