FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » General » PHP discussions » remote connection to mysql from php
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
remote connection to mysql from php [message #32075] Wed, 07 June 2006 09:48 Go to previous message
betty is currently offline  betty   United Kingdom
Messages: 2
Registered: June 2006
Karma:
Junior Member
Hello I wonder , if you can help, I've read Mysql manual but i must be missing something because,i still can't connect to my remote mysql database.. So far i've added the code below on my php page:
mysql_connect($remoteserver,$username,$password);
where $remoteserver is the ipaddress and port number.
error message: Host is not allowed to connect to this MySQL server.

i have read that i have to make sure skip-networking is commented (or remove line) and add following line
bind-address=YOUR-SERVER-IP.But to which file, i can't find the line in my.cnf file. I've MySQLServer5.0 installed,

I have also granted all privileges on "." to root@localhost on the remote server.
Please help.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Slash problem
Next Topic: GPix Pixel Script - Spanish Translator .....
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 24 19:19:26 GMT 2024

Total time taken to generate the page: 0.04443 seconds