Hi guys, i have a chat server on a hosting account and the client on a different hosting provider, in my config file to connect to the database it has:
hostname =jdbc:mysql://localhost/avatarmike
How can i get this to connect to the other hosting provider?, do i just change localhost to the other hosting domain name?
well
in my cases
hostname =‘ip add’;
works for me
plus i hope that mysql server is allowing remote connections
i guess islandof_chat is not required in any case
You can allow external web servers to access your MySQL databases by adding their domain name to the list of hosts that are able to access databases on your web site.
Add Access Host
Host (% wildcard is allowed):
Do i add the ip address of the server trying to connect?