MySQL Connection Error

09/01/2011 03:52 San-Goku#16
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

config.php:
Quote:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="127.0.0.1";
$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.66.**.***"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "BlackThunder Gaming"; //Put your servername here.
$link = "http://5.66.**.***"; //Put your website link here

// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
wowowow

EDIT: you guys think i should uninstall MySQL & wamp ?
09/02/2011 07:20 King_Arthur#17
Quote:
Originally Posted by San-Goku View Post
config.php:

wowowow

EDIT: you guys think i should uninstall MySQL & wamp ?
Your version of wamp (specifically PHP) is too new and will not connect to the database your using for your server. Most people would simply downgrade their version of wamp.
09/02/2011 10:56 San-Goku#18
Quote:
Originally Posted by King_Arthur View Post
Your version of wamp (specifically PHP) is too new and will not connect to the database your using for your server. Most people would simply downgrade their version of wamp.
so i should get the old version of wamp ?