Upload the website source code, has been unable to build, please boss

Visit the website where the source code is uploaded and click the installation prompt

SQLSTATE[HY000] [2002] php_ network_ getaddresses: getaddrinfo failed: No address associated with hostname

What should I do

Please write clearly and provide more info

That error means PHP is unable to resolve the database hostname you’ve entered. What did you enter as the database hostname?

epiz_31241461_xxx

XXX is my customized database name

No, that’s incorrect. The hostname should be sqlxxx.epizy.com, where xxx are numbers

Sorry, just misunderstood, host name: sql213 epizy. com

Database name: epiz_ 31241461_ xxx

I just lost my mind and didn’t take it seriously

Can you share the full code you are using to connect? Thanks

Please do remember to censor the password.

The problem has been found. It turns out that there are spaces before and after the copied database name