Hello okki,

by using "localhost" you are using remote communication. When remote
communication is used a database can only be created by specifying also
an operating system user.

String result = dbSession.cmd("db_create TEST DBM,DBM
<OSUser>,<OSPassword>");

Best regards,
Tilo Heinrich
SAP Labs Berlin

-----Original Message-----
From: okki [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 03, 2006 3:30 PM
To: maxdb@lists.mysql.com
Subject: ERR_NEEDADMI in com.sap.dbtech.powertoys.DBM

hi,

i want to administer my database using java rather than using the dbmcli

interface. my code results in a error message:
"-24875 ERR_NEEDADMI The operating system user is not a member of the 
database administrators group>"

any ideas?

thanks

sebastian

/***********************/
// running under windows

DBM dbSession;
try {
   dbSession = DBM.dbrootDBM("localhost", "c:\\maxdb\\7600\\");
} catch (RTEException e) {
   System.err.println("error: xserver running?");
   return;
}

try {

   String result = dbSession.cmd("db_create TEST DBM,DBM");
} catch (RTEException e) {
   e.printStackTrace();
} catch (DBMException e) {
   e.printStackTrace();
}

/***********************/

-- 
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]


--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to