Jump to content
  • 0

nead Hellp


Question

Posted

I have a question I site and works with php file and want to make a cone server what to do.;

 

I put the ip of the server here

 

<?php

$L2JBS_config["mysql_host"]=181.40.129.100;  // MySQL IP <----and does not connect

 

$L2JBS_config["mysql_port"]=3306;      // MySQP port

$L2JBS_config["mysql_db"]="L2jdb";      // l2jdb or your lineage 2 server database name

$L2JBS_config["mysql_login"]="server";      // MySQL Login name

$L2JBS_config["mysql_password"]="123456789";      // MySQL Password

 

"Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /public_html/freya/config/_config_procs.php on line 3

Couldn't connect to MySQL"

 

it's from my site

 

MySQL's my.cnf file

[mysqld]

user=mysql

bind-address=181.40.129.100 <--server IP

 

I put the ip of the server here and does the site regularly connect to the server but the gameserver crashes and stops working in msql

 

please who knows something about this topic help

 

the server working on linux Debian

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..