I am trying to install bagisto on my dev site and getting sql erroor
-
here is my complete .env file
APP_NAME=Bagisto
APP_ENV=local
APP_VERSION=1.3.3
APP_KEY=base64:Aa1Rxxi+WyzolMtjstV3LwUOcAFn47eIj7rjI8mO5iM=
APP_DEBUG=true
APP_URL=http://localhost
APP_ADMIN_URL=admin
APP_TIMEZONE=Asia/Kolkata
APP_LOCALE=en
LOG_CHANNEL=stack
APP_CURRENCY=USDDB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=db3ttvq1znxpun
DB_USERNAME=uusk5gzet00wf
DB_PASSWORD=kcvap0qteb
DB_PREFIX=BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=syncREDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=
MAIL_PASSWORD=
MAIL_ENCRYPTION=tlsSHOP_MAIL_FROM=
ADMIN_MAIL_TO=
MAIL_FROM_NAME=FIXER_API_KEY=
EXCHANGE_RATES_API_KEY=PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"FACEBOOK_CLIENT_ID=
FACEBOOK_CLIENT_SECRET=
FACEBOOK_CALLBACK_URL=https://yourhost.com/customer/social-login/facebook/callbackTWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
TWITTER_CALLBACK_URL=https://yourhost.com/customer/social-login/twitter/callbackGOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GOOGLE_CALLBACK_URL=https://yourhost.com/customer/social-login/google/callbackLINKEDIN_CLIENT_ID=
LINKEDIN_CLIENT_SECRET=
LINKEDIN_CALLBACK_URL=https://yourhost.com/customer/social-login/linkedin/callbackGITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_CALLBACK_URL=https://yourhost.com/customer/social-login/github/callback
I am getting error below
-
Hi @aliabbas, as the error message already mentioned the user credentials for your database are incorrect or has no access to the database.
-
I used this on other project and its working fine
-
@ghermans my credentials are right
-
Credentials are right but you are getting permission denied which clearly signifies that there may be a database connection issue from your end.