PDA

View Full Version : Connection failed Lin2db&Lin2world


Rexx
12.06.2006, 09:15
This is my 2nd Lineage install, my 1st was the PP pack which went fine, the install I am doing now is a C4 install but when I execute the server.exe I get the error: connection failed Lin2db & Lin2world. I have reinstalled this 4 times now with the same errors, I have checked the ODBC several times and it seems fine. after these errors the server does load but of course i cant connect.
Any suggestions

Thanks

nish
12.06.2006, 15:12
run the odbc.reg...... i had the same prob and make sure u put your sa info in the .ini thats it

Rexx
13.06.2006, 06:08
Thanks, that did the trick, now it wont let me log in but I will search for an answer.
Thanks

nish
13.06.2006, 12:09
u prolly need the proper client engine.dll..... u can find it on this forum also :)

IVB
23.06.2006, 12:32
I have the same problem...

I'm applyed odbc.reg, but problem still exist. I tryed in linex.ini both "sa" with its password and specially created account (to work with db) with its password.

Is it possible that I have wrong odbc.reg?

And what name must be in odbc.reg? In mine I have:

"LastUser"="Guest"

Sire
24.06.2006, 03:25
Try setting the ODBC in control panel to use windows authentication instead of sql authentication.

menace-
24.06.2006, 23:54
I had the same error, iva run the odbc.reg and well now it only says failed to connect to lin2world.

Now i've tried everythin mentioned above and i still have a problem with the l2server.exe not connecting to lin2world. Any ideas guys?

IVB
26.06.2006, 08:15
I solved my problem.

Parameter "LastUser" don't matter.

Parameter "Server" _IS_ matter! It must be the same as "SERVER" value in "C:\Program Files\Common Files\ODBC\Data Sources\*.dsn"

IVB
26.06.2006, 08:20
I had the same error, iva run the odbc.reg and well now it only says failed to connect to lin2world.

Now i've tried everythin mentioned above and i still have a problem with the l2server.exe not connecting to lin2world. Any ideas guys?
Check your "linex.ini" file. You must have proper lines for Lin2DB and Lin2world:


[Database]
AUTH_DB=Lin2db
AUTH_UID=<put login here>
AUTH_PWD=<put password here>
World_DB=Lin2world
World_UID=<put login here>
World_PWD=<put password here>


Oops... I saw different versions of linex.dll, and I saw two variants of [Database] field. In second variant I saw slightly different sintax:


[Database]
WorldDB=Lin2world
WorldUID=<put login here>
WorldPWD=<put password here>


- no underscore, and no Lin2db section...

menace-
26.06.2006, 20:33
thanks IVB, but i came across another way, using the chinese databases.

thanks anyway!