MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2002 - php_network_getaddresses: getaddrinfo failed: Try again
Query:
[READ] Unable to connect to MySQL server