Post Pacific

Post Pacific (https://postpacific.loc-online.com/index.php)
-   Темы без сохранившегося раздела (https://postpacific.loc-online.com/forumdisplay.php?f=10001)
-   -   Installing c4 db (https://postpacific.loc-online.com/showthread.php?t=5338)

scrap512 08.08.2006 13:44

Installing c4 db
 
With the New PP-IRC c4 pack is it possible to install the c4 db scripts without losing my current player database information (without having to wipe) I run a small private server for me and about 60 local people that play at my cafe

Thanks in advance for your time and help!!

Emperial 09.08.2006 07:06

In the DBScript folder, run the following scripts "ch1 to ch2" "ch2 to ch3" "ch3 to ch4". It upgrades your database to C4, and you will not lose any player database information!

red978 09.08.2006 08:31

inside PP retail C4 there is a lot of file in DBscript folder, in what order i have to use them, to set up a new server???

scrap512 09.08.2006 11:46

thanks Emperial did it didnt loose any info :) but i do have a slight problem now , people can not create characters.

Kenster 09.09.2006 18:29

Bump, Anyone get this working successfully?

Kenster 11.09.2006 16:13

Offering 50$ for a working C1 to C4 Transfer script. Send me a private message, as it seems no one will post one for free.

Kenster 12.09.2006 23:03

Any idea what this means ?

Msg 468, Level 16, State 9, Procedure give_lotto_price, Line 48
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Korean_Wansung_CI_AS" in the equal to operation.

Got the rest transfered. Thanks

Firedaemon 12.09.2006 23:33

Quote:

Originally Posted by Kenster (Post 67228)
Any idea what this means ?

Msg 468, Level 16, State 9, Procedure give_lotto_price, Line 48
Cannot resolve the collation conflict between "SQL_Latin1_General_CP1_CI_AS" and "Korean_Wansung_CI_AS" in the equal to operation.

Got the rest transfered. Thanks

Kenster, its a collation issue. Collation refers to character type like Unicode, ASCII etc and the various variations in which they can be stored. Generally when you get a collation error, it means that the data is being stored incorrectly from its original value and the sql server doesnt know what to do with it unless you tell it exactly what to do in a script.

When I implimented our new c4 server without a wipe, I simply used the "chronicle4_20051222.sql" and created an entire new database system. Then, I copied over all the existing databases to a temp database system and applied the "ch1 to ch2.sql" and etc to them. Afterwards, I then exported the tables from each database I wanted to save down to a flat file which was comma delimited. Imported the flat file for each table and durring the process, defined the field type for each field based upon the source. Not doing this will lead to data malformations.

I do not have a script "per-say" because it really should be done step-by-step to ensure 100% data security so there is no data loss.

Kenster 13.09.2006 00:03

Fire, nice detailed reply. Would you happen to have a valid source of information on how to fix this problem. It the only precdurce that I cannot get to work. And Im afraid I don't know what part of the lotto system will cause this to be bugged.

Thanks,

Firedaemon 13.09.2006 00:42

If you review the collation of your existing tables, they are probably set as "SQL_Latin1_General_CP1_CI_AS" which was the collation of the old C1 database system. This is a simple idea, but may just work for you.

Execute the following query, which will modify the collation of your database.

Code:

ALTER DATABASE [lin2world] COLLATE Korean_Wansung_CI_AS
My guess is that the temporary tables in which the stored procedure `give_lotto_price` is creating is of a different collation type than the stored data.


All times are GMT. The time now is 16:19.