473,405 Members | 2,294 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Database can't be accessed after restore

The redirect restore success. But can't connect to it and get the following error:

$ db2 connect to dwmm
SQL0332N Character conversion from the source code page "1386" to the target
code page "819" is not supported. SQLSTATE=57017


I can check the db cfg:

Database territory = CN
Database code page = 1386
Database code set = GBK
Database country/region code = 86
Database collating sequence = UNIQUE

So I set the codepage:
db2set DB2CODEPAGE=1386

Then I can connect to the database.
$ db2 connect to dwmm

Database Connection Information

Database server = DB2/AIX64 9.7.6
SQL authorization ID = DB2IST01
Local database alias = DWMM


But I can't do anything against the db:
$ db2 "list tables"
SQL0805N Package "NULLID.SQLC2H23 0X4141414141424263" was not found.
SQLSTATE=51002
$ db2 "get db cfg for dwmm"
SQL4707N The workload named "SYSDEFAULTUSERWORKLOAD" cannot service the
request because the workload is not allowed to access the database.
SQLSTATE=5U020


Any comment will be appreciated.
Oct 31 '12 #1
1 5146
zmbd
5,501 Expert Mod 4TB
You can't do anything with the tables because I don't think there is anything there to actually work with - the conversion failed: SQL0332N - Detail
Oct 31 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Robert Kattke | last post by:
Subject: Can you retrieve/restore a MySQL user Password ? I'm working on my own, local WXP, MySQL, version: 3.23.38-nt and I have the "root" password, and normally use the root account. I have...
0
by: Markus Enders | last post by:
Hi everybody, we are using version 7 of db2 and need to replicate a database. We are using two web-based systems, which access two different databases. One system is used for import data...
4
by: ScottH | last post by:
I am running 7.2 with fixpack 10a under W2K. I got a backup from someone else in an attempt to debug a data issue. The other person created the database with UTF-8 (codepage 1208), so I created a...
1
by: Shawn | last post by:
Hi All; i'm trying to create a two piece program. the main app would contain all the gui and the second piece would work as a data server. the data server would be started at the same time the...
2
by: TaeHo Yoo | last post by:
In my current web.config, I have these lines ----------------------------------------------------------- <authentication mode="Forms"> <forms name="frmAuthentication" loginUrl="login.aspx" />...
7
by: Risen | last post by:
Hi,all, I want to execute SQL command " DROP DATABASE mydb" and "Restore DATABASE ....." in vb.net 2003. But it always shows error. If any body can tell me how to execute sql command as above?...
2
by: Stan R. | last post by:
Hello, I'm wondering how I can enumerate the functions of an applet (like document.applets.myapplet) ? I can get the properties using for (prop in document.applets.myapplet) // do something...
1
by: Stan R. | last post by:
Hello, I'm wondering how I can enumerate the functions of an applet (like document.applets.myapplet) ? In javascript, I can get the properties using for (prop in document.applets.myapplet) //...
2
by: san | last post by:
Hello, i am in great trouble. I want to revert back to original state of database before i performed restore database on my sql server 2K Database. Accidently i didn't take backup of my Database...
1
by: mattmao | last post by:
Generally speaking, JSP and servlet are equivalent. I found one strange question: I've created a JavaBean class called UserinfoBean.class and put it inside /WEB-INF/classes/uts/ait/cmao/ It...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.