Which version of the MySQL docs are you looking at.
In most recent 8.4, the section you mention no longer exists:
Show us the code you are using and tell us where it fails.
There can be many points of failure, eg open ports on server, ODBC options and connection string, etc , etc ...
What...