SQL Restore Error

Joined
May 30, 2008
Messages
558
Reaction score
64
any help when i try doing GameDB restore

Kreain - SQL Restore Error - RaGEZONE Forums
 
LINK -> Thesnowman guide -> there's something about SQL2005 - just read it ;-).
 
Upvote 0
Clue in the error:

"The code page 936 is not supported by the server"

If you did your *nix setup right you should remember that you had to include an odbc var to your bash profile to enable codepage 936 when talking to the sql server as the database is in Chinese.

I guess that you didn't add the east asian language pack to the regional and language options in your control panel (maybe you did it after installing mssql and it doesn't know?) but your server definitely does not support Chinese properly and so cannot restore the db. He no speekee :P
 
Upvote 0
go go /home/cabal and open .bash_profile and add the following line next to the other exports (or at the bottom):

export FREETDS_UNIXODBC_CHARSET='cp936'

I did this in my Cabal profile as well as my normal user (i use this linux box for other things too).

That bit is only on the linux side though and won't fix the problem with restoring the database. I had lots of east asian language packs installed (Korean, Japanese and Chinese mainly) way before i installed the sql server (2005 express), and i have them all ticked on the Advanced tab of my regional and language settings (in control panel) too which might be the difference. it may be that the server picks up supported languages when it is installed as i didn't change any language settings in sql. The databases themselves are stored with a Chinese_PRC_CI_AS collation so your sql server must be able to accept that language or the import will fail.
 
Upvote 0
Back