I can't to connect my php code with mysql database, but the data of connection are correct

Thank you, worked perfectly. But i’m impressed, because i use the PDO with server and only now appeared problem.

1 Like

Only more one quest. The infinityfree has support to AJAX with JQUERY?

This might help you:

2 Likes

If you don’t specify host, it will use the default, which is localhost. And that value works fine for many systems.

So it worked because the default value happened to be right, and the server parameter was invalid and being ignored.

4 Likes

i understand, thank you so much.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.