malishew Posted November 25, 2006 Share Posted November 25, 2006 Hi, sorry about my bad english!I have a question, how can i alow mySQL to accept other IP connections?Example:I am trying to get game statuss whit mySQLconnection$host="80.233.140.100"; $user="OthePCUser" ; $password="OthePCUsersPass"; $db="OthePCUserDatabase"; $database_encoding = 'CP1251';$img_base = "img/"; $server = "OthePCUserServer";But i get error:Error: Unable to connect to MySQL server. MySQL reported: Can't connect to MySQL server on '80.233.140.100' (10060).Mby i have to change something in php.iniThanks! Quote Link to comment https://forums.phpfreaks.com/topic/28465-connecting-to-other-mysql-db/ Share on other sites More sharing options...
fenway Posted November 26, 2006 Share Posted November 26, 2006 Is this your server, or someone else's? Quote Link to comment https://forums.phpfreaks.com/topic/28465-connecting-to-other-mysql-db/#findComment-130322 Share on other sites More sharing options...
malishew Posted November 26, 2006 Author Share Posted November 26, 2006 Someone else's. When i try to connect to his server i get that error... Quote Link to comment https://forums.phpfreaks.com/topic/28465-connecting-to-other-mysql-db/#findComment-130419 Share on other sites More sharing options...
fenway Posted November 27, 2006 Share Posted November 27, 2006 Then you need to verify that that person's server allows non-localhost connections first. Quote Link to comment https://forums.phpfreaks.com/topic/28465-connecting-to-other-mysql-db/#findComment-130992 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.