Database Connection Refused - Troubleshooting Print

  • 0

If you get "Connection Refused" errors for your database:

Check Connection String:

MySQL:

  • Server: localhost or 127.0.0.1 (for same server)
  • Port: 3306
  • Username: Your database username
  • Password: Your database password

MS SQL:

  • Server: SQL2022-002.adaptivewebhosting.com,1443 (note the port!)
  • Use the exact server name from your welcome email

Common Issues:

1. Wrong Server Address:

  • Check your welcome email for correct server
  • MS SQL uses non-standard ports

2. Wrong Credentials:

  • Reset password in Plesk > Databases
  • Verify username matches exactly

3. Remote Access Disabled:

  • MySQL may be restricted to localhost
  • Contact support to enable remote access

4. Firewall:

  • Your IP may need to be whitelisted

Was this answer helpful?

« Back