Gamezoneita Wait, you're using XAMPP on a dedicated remote server? XAMPP is mainly intended for local testing, it's probably better to use a full stack server setup natively on your remote server.
Also, from the error, it looks like your host is having connection problems with your database. Confirm that the username/password are correct, that the username has the necessary permissions on the database, and that the server can connect with the database (via the network if its remote).