#Getting an error running php artisan migrate --seed --force

5 messages · Page 1 of 1 (latest)

merry swanBOT
#

I have found the following for: https://media.discordapp.net/attachments/1471190440693862614/1471190441390112930/image.png?ex=698e085e&is=698cb6de&hm=3a465c701aaf0915778805135036a0259bd245227e8947696777d587fb6dff14&
🇫🇷 🥖 Bienvenue sur Internet, @robust oriole 🥖 🇫🇷

Your database is refusing the Panel's attempts to connect to it. This can be for a number of different reasons so I'll let a human double check, but here are some ideas.

  1. Is your MySQL instance running? systemctl status mysql(hopefully not down the road)
  2. Is the user you're trying to connect with authorized to access the given database from this IP address?
  3. Did you correctly give that user permission to even access that database?
  4. Do you have a Firewall that is blocking connections?
  5. Is your MySQL instance bound to 127.0.0.1 or localhost and you're trying to connect from outside the server?
  6. Does the user have GRANT permissions if you're trying to use them to create a new database for a server?
  7. Have special characters in your password? Make sure DB_PASSWORD in your .env file is enclosed in double quotes

Here is some additional documentation to help you out: https://pterodactyl.io/tutorials/mysql_setup.html

robust oriole
#

where can i find the .env file?

merry swanBOT
#

The env file can be found at /var/www/pterodactyl/.env. Files starting with a . in Linux are hidden so it may not show up in file browsers by default. You can open it directly with nano /var/www/pterodactyl/.env

robust oriole
#

checked all that still recieving error

robust oriole
#

how can I reset my DB password now?