[2.3] DBserver help

smoochy boys on tour

samjimin

Dedicated Member
Dedicated Member
Nov 6, 2003
74
1
55
Hello just put my server on a dedi and everything works fine sept the dbserver keep disconnecting:
server screen.jpg

my dbsrc looks like this
[Reg]
Key=0123456789
ServerAddr=109.169.20.202
ServerPort=60320
[SQL]
SQLType=mssql
SQLHost=109.169.20.202
SQLPort=3306
SQLDatabase=mir2
SQLUsername=sa
SQLPassword=******
[Setup]
ServerName=MirLegacy
ServerAddr=109.169.20.202
ServerPor=6000
MapFile=C:\mirserver\Mir200\Envir\MapInfo.txt
ViewHackMsg=1
GateAddr=109.169.20.202
GatePort=5100
DynamicIPMode=0
BackupClearData=0
ShowItemName=1
DBName=HeroDB
[Server]
IDSAddr=109.169.20.202
IDSPort=5600
[DBClear]
Interval=1000
Level1=1
Level2=7
Level3=14
Day1=7
Day2=62
Day3=124
Month1=0
Month2=0
Month3=0
[DB]
Dir=C:\mirserver\DBServer\FDB\
IdDir=C:\mirserver\DBServer\FDB\
HumDir=C:\mirserver\DBServer\FDB\
FeeDir=C:\mirserver\DBServer\FDB\
BackupDir=C:\mirserver\DBServer\Backup\
ConnectDir=C:\mirserver\DBServer\Connection\
LogDir=C:\mirserver\DBServer\Log\
[Backup]
AutoBackup=1
BackupTime=18000000


Thanks in advance for help
 

Toddwhite

More like Retodd
Golden Oldie
Jul 28, 2006
1,589
7
144
dont you need to change the SQL host from the i.p to your sql version of "Lux666-PC\SQLEXPRESS"??

also for online, the i.p's shud be your 192.168.0.?? (internal?) in this file? or isit because its a dedi this is different?
 
Last edited:
Upvote 0

Toddwhite

More like Retodd
Golden Oldie
Jul 28, 2006
1,589
7
144
have you ever tried your server online? or only ever tested it offline? Because by the looks of your setup it is for offline use.

Just looked at your screenshot of M2, the DB server gate is runnin on a diff i.p to the Gate0.
 
Last edited:
Upvote 0

andykid131

Golden Oldie
Golden Oldie
Mar 16, 2006
621
3
53
135
You have only posted the info for DBsrc.txt

But arnt there 2 other .txt files that hold IP info for DBserver?
( !Serverinfo.txt )
( !Addrtable.txt )

Have you changed IP in these .txt files aswell?

I havnt messed with 2.3 files in years tho so im not 100% sure if those files even have them .txts lol.
Im gonna fish out my old 2.3 files and have a look over them, i remember having this same problem.

/Toxin
 
Upvote 0

samjimin

Dedicated Member
Dedicated Member
Nov 6, 2003
74
1
55
yeah changed both of them checked over ip's again all seem fine not sure y it ses its running on diffrent ip

ok cheers toxin
 
Upvote 0

Zen2

LOMCN Veteran
Veteran
Jul 26, 2007
1,818
18
145
You should try 127.0.0.1 as every IP other than the few global ips :) Hope this helps.
 
Upvote 0

Zen2

LOMCN Veteran
Veteran
Jul 26, 2007
1,818
18
145
You will need to patch SQL 2000 to work with that if i remember correctly. Microsoft should have these patches on thier site, do a search on google SQL 2000 Patch
 
Upvote 0

boothy

LOMCN Veteran
Veteran
Mar 23, 2007
458
12
65
if you're using SQL 2000 try changing

SQLHost=109.169.20.202

to

SQLHost=(local)

or localhost
 
Upvote 0

andykid131

Golden Oldie
Golden Oldie
Mar 16, 2006
621
3
53
135
if you're using SQL 2000 try changing

SQLHost=109.169.20.202

to

SQLHost=(local)

or localhost

I was thinking it had sumit to do with his SQL Info, i cant remember putting an IP in ( SQLHost= )
Was going to have a look for him but he dosnt seem to be online atm.

/Toxin
 
Upvote 0

samjimin

Dedicated Member
Dedicated Member
Nov 6, 2003
74
1
55
hmm iv updated it tried (local) and localhost weird thing is my mir2 server still connects to sql but the dbserver still cant:/
 
Upvote 0

Toddwhite

More like Retodd
Golden Oldie
Jul 28, 2006
1,589
7
144
seems bit silly asking this but have you changed the SQL database sections to the db name you use in SQL?
 
Upvote 0