Jump to content

Recommended Posts

Posted (edited)

Warning: mysql_connect() [function.mysql-connect]: Can't connect to MySQL server on '46.105.50.162' (4) in/home/lnukecom/public_html/index.php on line 191
Can't connect to MySQL server on '46.105.50.162' (4)

Edited by L2BlackDays
Posted

Create the account with this dates.

Host = %

Usser = imsexi (example)

Pass = asdasrR2354asf*SDF153!"#€¬ ( Need dificult, we want don't hack u)

 

etc

 

Now change ur configs like this

Ip = (Your Ip)

Usser = imsexi

Pass = asdasrR2354asf*SDF153!"#€¬

Posted

cant without pass? because i have this:

<?php $server_ip = "46.105.50.162";
           $mysql_user = "root";
           $mysql_pass = "";
           $database = "l2jdb";

           $connect = mysql_connect("$server_ip", "$mysql_user", "$mysql_pass") or die(mysql_error());
           $db_select = mysql_select_db("$database", $connect) or die(mysql_error());
           $query = mysql_query("SELECT online FROM characters WHERE online=1") or die(mysql_error()) ;

           $online_chars = mysql_num_rows($query);

          echo 'Players Online:'.$online_chars;

mysql_close($connect);
?>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...