#Error 500 when creating a new database

1 messages · Page 1 of 1 (latest)

white pecan
#

Hey y'all anyone else have this issue where they create the main database that you need to make ones on the panels themselves but it just gives you a error 500 for your trouble?

prisma plover
#

500 Server Error

ocean ploverBOT
#

Hey @prisma plover! Post your Panel logs to find out more information about the cause of your 500 server errors tail -n 150 /var/www/pterodactyl/storage/logs/laravel-$(date +%F).log | nc pteropaste.com 99

white pecan
#

I’ll do that after I get home

white pecan
ocean ploverBOT
#

I have found the following for: https://ptero.co/rukaruqacu
🇫🇷 🥖 Bienvenue sur Internet, @white pecan 🥖 🇫🇷

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

white pecan
#

mainly because I can't actually login anymore just gives me a error (can access the server just fine but can't login to my account via the web GUI

prisma plover
white pecan
#

nothings there lol

#

probably because I forgot I reset the machine

white pecan
#

figured out the problem

#

thanks error