Jump to content

Im super confused


bentotech

Recommended Posts

'31.100.x.x is not allowed to connect to this MySQL server in /home/member/insert.php on line 13

 

I asked a question about this a few weeks ago, and someone solved it saying that the server was blocking connections. Its confusing the hell out of me.

 

I did as they said, and contacted my admin. they told me to fork over money, and it would be solved. I am a broke student, and dont have the cash anyway.

 

What gets me is they said I had to be a paid member to have a sql database and connect to it with scripts on the server. But I can run a phpBB3 forum. it runs sql. I know it does. WTF?

 

I know they are just trying to get money from me, but no matter how much I try i cant figure out how the forums connect.

 

mine is

 $username="a162_bento";
$password="Password123";
$database="a162_siteDB";
$localhost="host.com";

mysql_connect($localhost,$user,$password)

 

I wish could figure out how xampp worked. If someone has time to help me I would really appreciate it. Im trying really hard but getting kick every time i get on the stage.

Link to comment
Share on other sites

If the forums, or other scripts are hosted on their servers, and they allow local connections, then of course it will work.

 

If they do not allow external connections to the DB servers, and you try to connect directly from outside their local network, it will fail.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.