on 04-04-2014 10:42 AM
Hello all,
I wanted to refresh our QAS DB with our PRD DB. So, I have carried out a recovery with a PRD backup. I have made a mistake when I loaded the system tables with Database Studio. I used SUPERDBA for the login and not the SAP<SID> login.
I tried :
dbmcli -d QAS -u CONTROL,pass -uSQL SUPERDBA,Pass sql_execute rename user SUPERDBA to SAPQAS
But no effect ...
How can I come back ?
Thanks,
--
Fabien
The correct command would be
dbmcli -d QAS -u CONTROL,pass -uSQL SUPERDBA,Pass sql_execute rename user SAPPRD to SAPQAS
Maybe you need to rename SAPQAS first back to SUPERDBA. SUPERDBA is not the appropriate user for SAP tables, the best thing would be to start over with your restore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Fabien,
Have you selected initialize database during restoration ?
If not please repeat restoration with the same.
Secondly you may need to reset the password for Superdba user post restoration.
Hope this helps.
Regards,
Deepak Kori
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepak,
Yes I carried out the restoration with initialization.
I can connect with dbmcli and superdba user.
When I start sap, I have an error in dev_w0 file :
C *** ERROR => the connected user (SUPERDBA) does not work with the right user/
schema
[dbslsdb.cpp 5443]
C *** ERROR => application has to work with schema SAPQAS (dbs/ada/schema)
[dbslsdb.cpp 5445]
C Disconnecting from connection 0 ...
C Now I'm disconnected from MaxDB
M ***LOG R19=> ThInit, db_connect ( DB-Connect 000256) [thxxhead.c 1497]
M in_ThErrHandle: 1
M *** ERROR => ThInit: db_connect (step 1, th_errno 13, action 3, level 1) [thx
xhead.c 11348]
Regards,
--
Fabien
Hi Fabien,
Refer screenshot in link below
http://maxdb.sap.com/doc/7_6/f7/2ca441b75ca109e10000000a155106/frameset.htm
Hope this helps.
Regards,
Deepak Kori
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.