Right i will put the information here what i think will be needed firstly
im using XAMMP Version 2.5 only running Apache as im using WinMySQLadmin for my database for client the client is hocked up-to hamachi it all works the website is hocked up-to hamachi
this is the client/db im using
[Only registered and activated users can see links. Click Here To Register...]
ive tryed loads of ports tryed sorting out ip and i got help changing config file in the website side
the config is with changed bits to hide my info
im using XAMMP Version 2.5 only running Apache as im using WinMySQLadmin for my database for client the client is hocked up-to hamachi it all works the website is hocked up-to hamachi
this is the client/db im using
[Only registered and activated users can see links. Click Here To Register...]
ive tryed loads of ports tryed sorting out ip and i got help changing config file in the website side
the config is with changed bits to hide my info
i still get line errors i know what they mean but i cannot find the issueQuote:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test"; //your server login password
$myuser="root"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="5.178.52.11"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername="KittenChaosEo";
$page = basename($_SERVER['SCRIPT_FILENAME']);
$page = str_replace('_',' ',$page);
$page = str_replace('.php','',$page);
$page = ucfirst($page);
// Dont Edit after this
//Added By Gekru - Just changed the connecting ip
mysql_connect($serveraddress,$myuser,$mypass);
mysql_select_db($mydb);
?>
Quote:
Warning: mysql_connect() [function.mysql-connect]: [2002] No connection could be made because the target machine actively (trying to connect via tcp://5.178.52.11:3306) in C:\xampp\htdocs\config.php on line 21
Warning: mysql_connect() [function.mysql-connect]: No connection could be made because the target machine actively refused it. in C:\xampp\htdocs\config.php on line 21
Warning: mysql_select_db() [function.mysql-select-db]: [2002] No connection could be made because the target machine actively (trying to connect via tcp://localhost:3306) in C:\xampp\htdocs\config.php on line 22
Warning: mysql_select_db() [function.mysql-select-db]: No connection could be made because the target machine actively refused it. in C:\xampp\htdocs\config.php on line 22
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\xampp\htdocs\config.php on line 22