Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Outside mysql - yes i know sum1 already had a topic
Google
Post new topic Reply to topic
Author Message
opm881
 
 


Joined: 10 Aug 2007
Posts: 2

PostPosted: Fri Aug 10, 2007 11:36 am Reply with quoteBack to top

Ok, so i am trying to get this thing to connect to my mysql server which is hosted on a computer at my house, but i am having the website on a proper webhost. The deal is that it still wont connect even after i ahve 1) edited out the bind, 2) changed the bind multiple times, 3) made a special user for the webhost to connect via.
Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on 'ragcru.no-ip.org'
thats the error message, so any ideas?
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Fri Aug 10, 2007 4:41 pm Reply with quoteBack to top

1 first off see is mysql is listening on the public ip (need to see it listening either on 0.0.0.0 wich means all interfaces or the ip itself) tcpview to do this

2 then see if the mysql server can be accessed from the internet , use http://whatsmyip.org/ports/ , port 3306

if step 1 is ok but 2 fails configure firewall/router
View user's profileSend private message
opm881
 
 


Joined: 10 Aug 2007
Posts: 2

PostPosted: Sat Aug 11, 2007 11:50 am Reply with quoteBack to top

thx, that whats my ip page really helped, but i realised what i hadnt done and i am gonna sound like anoob. i forgot to restart the mysql server after i changed the settings -_-
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
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 vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT