Register for your free account! | Forgot your password?

You last visited: Today at 04:59

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Database issue.....

Discussion on Database issue..... within the EO PServer Hosting forum part of the Eudemons Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2011
Posts: 112
Received Thanks: 16
Exclamation Database issue.....

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!
buzz2289 is offline  
Old 02/02/2012, 15:33   #2
 
elite*gold: 0
Join Date: Dec 2009
Posts: 323
Received Thanks: 166
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
WolvesMaster is offline  
Old 02/02/2012, 18:52   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 112
Received Thanks: 16
Quote:
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);
?>
Could i just downgrade my PHP in XAMPP?
buzz2289 is offline  
Old 02/02/2012, 20:49   #4
 
elite*gold: 0
Join Date: Dec 2009
Posts: 323
Received Thanks: 166
this is the error

$mydbacc="my"; //your server account database

because it must be like that

$mydbacc="account"; //your server account database

just copy my config in my above reply and edit it the IP,server name and DB username & password.
WolvesMaster is offline  
Old 02/02/2012, 21:24   #5
 
elite*gold: 0
Join Date: Aug 2011
Posts: 112
Received Thanks: 16
nope it is still the same, i dont have an "account" DB mine are:"my" "mysql" and "test" the account is a table in "my"


If it makes a difference im using the database and serverfiles from ChaosOnline that was posted here
buzz2289 is offline  
Old 02/02/2012, 23:08   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 323
Received Thanks: 166
anyway just send me your e-mail in a pm and i will help you it's not hard
WolvesMaster is offline  
Old 02/02/2012, 23:49   #7
 
idlemonkey's Avatar
 
elite*gold: 540
Join Date: May 2009
Posts: 1,593
Received Thanks: 591
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
idlemonkey is offline  
Thanks
1 User
Old 02/03/2012, 01:52   #8
 
elite*gold: 0
Join Date: Aug 2011
Posts: 112
Received Thanks: 16
thanks to idle monkey i downgraded to 1.7.0 and it works 100% i hit thanks you are awesome bro!!!

One more question, how come "payers online" says -2 online? that is the only issue i have left
buzz2289 is offline  
Reply


Similar Threads Similar Threads
KTS issue
06/13/2011 - Rappelz - 7 Replies
NULL
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.



All times are GMT +1. The time now is 05:00.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.