PDA

View Full Version : Accessing MySQL database from a remote computer?


scripts
03-14-2002, 01:33 PM
Hi,

Does anyone know if hostrocket allows to access databases located on their servers from a remote computer?

I do not have a problem if I use a script located in my account that uses "localhost", but if I try to run a script on my local computer that attempts to establish a connection to my database on a hostrocket server I get the following error message:

DBI->connect(host=www.scriptsworld.com;database=hostrocket_database) failed: Access denied for user: 'hostrocket_user@localserver.com' (Using password: YES) at ... line 25

I would really appreciate your help. I'm a little hesitant to send in a trouble ticket.

Alex

Stewart
03-14-2002, 02:02 PM
the way the hostrocket servers are setup for security, mysql can only be accessed through the server itself - ie localhost.

it is impossible for you to connect otherwise.

scripts
03-14-2002, 02:07 PM
Yeah, that's what I figured. I guess I was just wondering if they could change the default security setting if you ask them - if anyone already had them do that.

Alex

Stewart
03-14-2002, 02:12 PM
i know that they would probably never change the security setting for that. it would open up an easy hacking route to the server.