Skip to Content
author's profile photo Former Member
Former Member

Problem with EXPORT TABLE and user privileges

I want to dump the contents of certain tables of my maxDB database as CSV files.

For that I used this export command:

EXPORT TABLE SCHEMA.AREA_CONCEPT

DATA OUTSTREAM 'AREA_CONCEPT.data';

And tried it with the following comands / users:

1. Database-Admin user:

/opt/sdb/programs/bin/loadercli -d FMED1 -u DBA,PASSWORD -cs \;

or even

/opt/sdb/programs/bin/loadercli -d FMED1 -s SCHEMA -u DBA,PASSWORD -cs \;

Result:

ERR -25392

'[SAP AG][LIBSQLOD SO][MaxDB] Base table not found;-4004 POS(24) Unknown table name:AREA_CONCEPT'

2. User, who ownes the database (schema):

/opt/sdb/programs/bin/loadercli -d FMED1 -s SCHEMA -u DBUSER,PASSWORD -cs \;

Result:

ERR -25392

'[SAP AG][LIBSQLOD SO][MaxDB] Syntax error or access violation;-5001 POS(28) Missing privilege:AREA_CONCEPT'

So that I am new to maxDB could someone please explain me, which user rights have to be set to do this? I already tried it for several hours, but without success.

Any help is appreciated.

Version used:

LOADERCLI version 7.6.06.10 on ubuntu 10.10

maxdb linux-64bit-x86_64-7_6_06_10

Yours

Jo Seibert

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Mar 07, 2011 at 01:46 PM

    What is the schema under which you want to export data from a table? You should login to loadercli with this schema user.. Works for me..

    Kind regards,

    Mark

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 21, 2011 at 12:36 AM

    Thanks for your help again, but by the time I solved this solution "by hand". I wrote a java program that exports data via JDBC an reimports them into the new MySQL database.

    Sorry, but MaxDB and me - we didn't become friends ...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.