Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 22:10

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

Advertisement



DataBase not connecting

Discussion on DataBase not connecting within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
Bаne's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2,334
Received Thanks: 1,777
DataBase not connecting

Heya everyone, I just moved overs PC's, (AGAIN Q.Q), this is was supposed to be dedicated to Co2, so I got the hellmouth sorce, seemed stable and I used it on my last PC, only probleme is I get a error message on the Hellmouth.exe saying it can't connect to the MySQL server, everything is correct on the settings file so I'm not very sure on why, and yes the DB is running ETC.
Bаne is offline  
Old 07/26/2011, 10:23   #2
 
12k's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
Hmm, have you checked the source code in the source to make sure the mysql connection is reading from the settings you set, or from a different location?
12k is offline  
Old 07/26/2011, 10:29   #3
 
Bаne's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2,334
Received Thanks: 1,777
Quote:
Originally Posted by 12k View Post
Hmm, have you checked the source code in the source to make sure the mysql connection is reading from the settings you set, or from a different location?
The hellmouth soruce does not require you to do so, but I double check the sockets ETC and no not that.
Bаne is offline  
Old 07/26/2011, 10:39   #4
 
12k's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
Ah gotcha. Downloaded the source code for hellmouth source. So you have changed the MySqlArgument values to the correct mysql info for ur mysql in the code, and debugged the solution, and u cant connect to mysql? o.o


#edit
The settings.txt isnt being used, incase you were using that.
12k is offline  
Old 07/26/2011, 10:41   #5
 
Bаne's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2,334
Received Thanks: 1,777
Quote:
Originally Posted by 12k View Post
Ah gotcha. Downloaded the source code for hellmouth source. So you have changed the MySqlArgument values to the correct mysql info for ur mysql in the code, and debugged the solution, and u cant connect to mysql? o.o
yes, the MySQL varibles in the settings file are all correct, so is the IP, when I run the debugger it start's the server successfuly, yet when I try to login game, I get the connection error.
Bаne is offline  
Old 07/26/2011, 10:43   #6
 
12k's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
It doesnt read off of the settings.txt file. It reads directly out of the source code. Thats why i was asking if u looked in the source code ^^. You will have to do it inside of visual C#.
12k is offline  
Old 07/26/2011, 10:45   #7
 
Bаne's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2,334
Received Thanks: 1,777
Quote:
Originally Posted by 12k View Post
It doesnt read off of the settings.txt file. It reads directly out of the source code. Thats why i was asking if u looked in the source code ^^. You will have to do it inside of visual C#.
Yes, I checked the source code, and it seemed correct, and I have never needed to edit any of the source to log in, in the past o.o
Bаne is offline  
Old 07/26/2011, 10:46   #8
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
What's the error message?
Spirited is offline  
Old 07/26/2011, 10:48   #9
 
Bаne's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2,334
Received Thanks: 1,777
Without starting the computer up, etc, the message was something along 'Cannot connect to MYSQL using user 'Root' (pass check YES)
Bаne is offline  
Old 07/26/2011, 10:49   #10
 
12k's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
Ahh woops, i retract my previous statement rofl. It does read from the settings.txt sry, didnt look at it that hard. I cant even find a instance of the MySqlHandler being created right now lol, to me it appears its just using structs. I must be too tired bed time for me lol. sorry, i tried.
12k is offline  
Old 07/26/2011, 10:50   #11
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
Quote:
Originally Posted by [GM]Bane View Post
Without starting the computer up, etc, the message was something along 'Cannot connect to MYSQL using user 'Root' (pass check YES)
make "Root" lowercase --> "root" and u'll be good to go.
(taking that your password and database name are correct)

If that doesn't work, reinstall MySql Community Server using the official installation and set it up with information that will work. You might of typed something incorrectly.
Spirited is offline  
Old 07/26/2011, 10:52   #12
 
Bаne's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2,334
Received Thanks: 1,777
I logged on and checked, it was already lowercase root, infact here it is

IP=127.0.0.1
USERNAME=root
PASSWORD=alpha675463
DATABASE=5310
DMGREDUCT=80
Bаne is offline  
Old 07/26/2011, 10:54   #13
 
12k's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 218
Received Thanks: 33
And you can login using a mysql GUI such as query browser or navicat with that information? o.o
12k is offline  
Old 07/26/2011, 10:54   #14
 
Bаne's Avatar
 
elite*gold: 0
Join Date: Mar 2010
Posts: 2,334
Received Thanks: 1,777
Quote:
Originally Posted by 12k View Post
And you can login using a mysql GUI such as query browser or navicat with that information? o.o
Yes I can o.o
Bаne is offline  
Old 07/26/2011, 11:09   #15
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,191
DATABASE=5310 ?
What is the name of your database?
Spirited is offline  
Reply


Similar Threads Similar Threads
connecting mysql to another Database
03/13/2011 - Dekaron Private Server - 11 Replies
me and my friend are wanting to make our on dekaron private server and was wondering how would we connect out mysql databases together so both of us can work on the server files instead of just one of us Thanks ^^
Connecting
12/21/2010 - Ragnarok Online PServer Hosting - 1 Replies
Can't connect both server and client won't connect no one knows =[
connecting
03/15/2009 - Silkroad Online - 10 Replies
how do people connect to the server when it is full? Rev6.com - The 6th Revolution shows the server capacity... people are always connecting even when it is full and there is always like 3507/3500
Need Help Connecting PW-Ph Here in US
06/24/2008 - Perfect World - 7 Replies
How can i Connect to PW-PH (Philippines) Here in US?:confused: They say I need some kind of Proxy Server? how would I know Which One to Use and where to Download it? I have'nt seen any Proxy program yet.. PLEASE Help me..:) I left my lvl97 Wuxia back in the Philippines and I cant PLAY PW here



All times are GMT +1. The time now is 22:11.


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.