Subject | Re: [firebird-support] Creating a database using DSQL |
---|---|
Author | Norman McFarlane |
Post date | 2008-11-17T10:41:30Z |
Martijn,
I'm using user_name and that is what is failing.
But no matter, if you use no params, it still creates the database with the defaults of sysdba and masterkey. So no problem.
Regards,
Norman
I'm using user_name and that is what is failing.
But no matter, if you use no params, it still creates the database with the defaults of sysdba and masterkey. So no problem.
Regards,
Norman
----- Original Message -----
From: Martijn Tonies
To: firebird-support@yahoogroups.com
Sent: Monday, November 17, 2008 12:40 PM
Subject: Re: [firebird-support] Creating a database using DSQL
Hello Norman,
> Thanks Alan,
> Kinda obvious I guess. Except it fails if you supply a user id and
password, but succeeds if you do not. Uses the default sysdba and masterkey.
If it doesn't fail, check to see if you have environment variables
defined.
As for putting those into Params, check the docs or the source,
for the CreateDatabase, I believe you need to use:
USER_NAME
while for connecting, you use:
USERNAME
or something.
Yes, it -is- ***... Some programmer has been sleeping on the
job I guess.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Sybase
SQL Anywhere, Oracle & MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com
------------------------------------------------------------------------------
No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.175 / Virus Database: 270.9.4/1793 - Release Date: 11/16/2008 7:58 PM
[Non-text portions of this message have been removed]