I've been trying to use the data in my database on my Wordpress website. All hosted in the same place/same cpanel. I cannot get my code to make a connection, not even a "connect failed"....
I'm using a custom template via a page.
When I use my WAMP server, everything works.
I got on the chat with a guy at host and he said
"You should understand that the same code that worked on WAMP server will not work here as all our servers are Linux based"
Then he said
"Regarding database connect, I need to warn you that incoming remote MySQL connection is disabled on our Shared, Reseller and Business servers due to security reasons."
Does this sound right? And why will my WAMP server work?