Solved: 5 Years, 10 Months, 3 Weeks ago 2002 - php_network_getaddresses
#1
Solved: 5 Years, 10 Months, 3 Weeks ago
MyBB SQL Error
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2002 - php_network_getaddresses: getaddrinfo failed: Name or service not known
Query:
[READ] Unable to connect to MySQL server

How do I fix?

NVM there was just a space in my

$config['database']['hostname'] = 'localhost '; <-------------------
Big Grin
Reply
#2
Solved: 5 Years, 10 Months, 3 Weeks ago
Glad to hear you found a fix. Thanks for sharing how you fixed it!
PGP Key (Fingerprint: 23B6 F4C0 FE2D 45AA 61A0 1E86 DB87 09DC DD87 6E40)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)