Jump to content

Connecting to other MySql db


malishew

Recommended Posts

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.ini
Thanks!
Link to comment
https://forums.phpfreaks.com/topic/28465-connecting-to-other-mysql-db/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.