When connecting to MySQL I get an Unknown Host error
Validated on 4 Oct 2022 • Last edited on 18 Nov 2022
ERROR 2005 (HY000): Unknown MySQL server host 'myqsl--do-user-example-0.db.ondigitalocean.com' (0)
Unknown Host error occurs when:
- You use the wrong DNS hostname.
- There are underlying problems with DNS resolution.
If you are getting this error:
- Verify that your hostname is correct.
- Verify whether the machine you’re connecting from has problems with DNS resolution.