Ok now as some of you may know i am new to running a Private server, but here is my issue, i have a working server, and files now with the mysqladmin that came with them, i can run the ACC, MSG, and NPC just fine, but heres where i hit a wall: linking my PHP register site, it gave me the failed to connect error so i read up on some forums and upgraded my "MySQL" to 5.1, now the fun gets better, now the site works perfect, register, top player, pet, legions, and all that but i cannot run my ACC, NPC, and MSG with MySQL 5.1, can someone describe to me how to have them both running on the same DB? i have two Computers if that helps all thanks appreciated!
just use the normal mysql and try to use this config for your website.
Code:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="[COLOR="DarkGreen"]test[/COLOR]"; //your server login password
$myuser="[COLOR="DarkGreen"]root[/COLOR]"; //your server login username
$mydbacc="account"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="[COLOR="DarkGreen"]your server IP[/COLOR]"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "[COLOR="DarkGreen"]Server Name[/COLOR]"; //Put your servername here.
$link = "http://www.google.com.eg/"; //Put your website link here
// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
edit your configs like the IPs,Server name and the same username and password like the server configs and give it another try
Warning: mysql_connect() [function.mysql-connect]: Connecting to 3.22, 3.23 & 4.0 is not supported. Server is 4.0.18-nt in C:\xampp\htdocs\config.php on line 16
This is my error from my site: 97.86.21.32
I have put my config.ini below
Quote:
<?php
require_once './inc/class.captcha.php';
// Configurations
$myhost="localhost";
$mypass="test"; //your server login password
$myuser="root"; //your server login username
$mydbacc="my"; //your server account database
$mydbdata="my"; //your server my database name
$serveraddress="5.30.50.9"; //your server ip
$serverport=5816; //your server connection port
$mydb="my"; //your server my database
$servername = "Buzzed-Online"; //Put your servername here.
$link = "97.86.21.32"; //Put your website link here
// Dont Edit after this
mysql_connect($myhost,$myuser,$mypass);
mysql_select_db($mydb);
?>
this is not your problem though the problem is you are using two incompatible versions of software msyql and phpmyadmin change your version of xamp to 1.7.1 or lower or change your phpmyadmin folder out for a lesser version
Need some help with a Database Issue 08/06/2010 - CO2 Private Server - 9 Replies Hi, I would like some help on figuring this problem with my database out. (Server type 5165) First off I would like to explain how I thought it worked. Ok, I thought it worked like something out of Excel or how the guides show you. But as I found out its not. How do I get my database to look somewhat readable, and usable to my understanding. No I'm not a idiot, and yes I have less than what I want in experience to code and solve problems like this. All I am asking for is some help with this...
SQL Database (Users_Master) - Administrative User Issue 03/13/2010 - Shaiya - 3 Replies I know I already have another thread on this forum already, and it seems like I am merely sucking information from this website, but I would like to give back to this community in some way for giving me all the help it has already, even before I registered. Anyway...
I have recently set up a private Shaiya server with Hamachi as a networking placeholder for my public network (I receive an error when trying to use my own ISP-given IP, see other thread). I have set up user accounts for other...
SV Issue 11/18/2007 - Conquer Online 2 - 7 Replies Basically after i press start sv just does nothing apart from hop around a bit now and again. On co there is a msg 'can't jump that far' dont know if that has anything to do with it. sv was working fine before, then it did this and when i tried the next day it worked for some reason, now it wont work again. fyi im using sv 1.17 with ce on patch 4356, help very much appreciated as i have tried everything including fresh co install.