Subject | Re: Having problems trying to create a database |
---|---|
Author | andrewstuartxx2000 |
Post date | 2004-09-26T10:04:17Z |
Thanks Helen!
greetings from down south.
Andrew
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
greetings from down south.
Andrew
--- In firebird-support@yahoogroups.com, Helen Borrie <helebor@t...>
wrote:
> At 04:12 PM 26/09/2004 +1000, you wrote:put a note
> >Hello
> >
> >Sorry I am a newbie to this support group/mailing list. I also
> >on Yahoo groups - does that mean I am cross posting?But it
>
> No, cross-posting is sending the same message to multiple lists.
> pays to be a little bit patient. We are all volunteers here and weattacks.
> moderate the initial posting by every new member to reduce spam
>of
> >I hope not. Anyway I
> >am having problems trying to create a database in my fresh install
> >Firebird 1.5 - here's what happens:should
> >
> >SQL> CREATE DATABASE './xsecore.gdb' DEFAULT CHARACTER SET UNICODE;
> >Statement failed, SQLCODE = -902
> >
> >I/O error for file "/home/sshlogin/fb/xsecore.gdb"
> >-Error while trying to create file
> >-Permission denied
> >SQL>
> >
> >Platform is Redhat Fedora core 2, lots of disk space.
>
> Ok, make a point of reading the release notes for Firebird 1.5. It
> be in your firebird /doc directory but, if it's not, get it fromthe
> Firebird 1.5 downloads page at www.ibphoenix.com, in the sectionMain
> Downloads. In the Linux installation section are some instructionsabout
> permissions.user and
>
> Create a firebird group. Create a sysdba user. Make the firebird
> sysdba members of that group (along with any other users (databaseowners)
> who will need access to database at file level. Database usersotherwise
> don't need to belong to the firebird group.confine
>
> Decide a place where you will have databases. For example, I
> databases to a partition called /data. You might prefer to use theyour
> database owner's or sysdba's home directory. Some people create a
> subdirectory in /var. The place where you are attempting to create
> database - the firebird /bin directory - is not a suitable place.the
>
> Right, now, give rwx permissions to group to your database space.
>
> If you want to use isql to create a database in your prepared /data
> directory, with owner sysdba (simplest to start with) do this from
> /opt/firebird/bin directory (it's all one command, broken here forclarity):
>you're
> bin]$ ./isql -user sysdba -password yt654eeu
> Use CREATE or CONNECT....blah
> SQL>create '/data/bxsecore.gdb'
> CON> user 'sysdba' password 'yt654eeu'
> CON> page_size 8192
> CON> DEFAULT CHARACTER SET UNICODE_FSS;
>
> That creates the database and puts it online. To understand what
> doing from here on, either buy my book (PLUG!!) or grab theOpsGuide.pdf
> and LangRef.pdf from somewhere on the net (just google thosefilenames) ---
> IB6 beta docs.
>
> cheers from the Central Coast
> ./heLen