It is currently Fri Mar 29, 2024 8:05 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: SQL connection problems
PostPosted: Fri Feb 11, 2005 8:11 pm 
Noobie
Noobie

Joined: Fri Feb 11, 2005 8:04 pm
Posts: 2
Hi
I'm new on this site, I have a problem with my connection to mysql from php. here is my code

$link=mysql_connect("usermane.freeownhost.com","database_name","password" )
or die("I can't get a connection") ;
.........

mysql_close($link);

the message I get is

Warning: mysql_connect(): Host 'MY.IP.ADD.RESS' is not allowed to connect to this MySQL server in /home/www/username.freeownhost.com/index.php on line 15

please help me ..


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 11, 2005 8:46 pm 
Support Team Member

Joined: Thu Feb 10, 2005 12:13 pm
Posts: 76
Hi,
Try to replace your "usermane.freeownhost.com" with just freeownhost.com
That should work!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 11, 2005 9:08 pm 
Noobie
Noobie

Joined: Fri Feb 11, 2005 8:04 pm
Posts: 2
thaks for your help that really works :D


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
100WebSpace © 2011