IUBio

xace connection to DB

Ed Griffiths edgrif at sanger.ac.uk
Wed Oct 16 04:08:20 EST 2002


Charles,


> I am having a problem connecting to a database using xace:
>
> I recall I may need to be in the directory above that holding the
> database?  Anyway if I try the following xace EXITS with the error
> listed below.


OK, the below output shows that you are "sitting" in the database directory:

> Specifics:
>
> [chauser at pandorina chuckDB]$ ls -l
> total 572
> -rw-rw----    1 chauser  staff       38182 Aug 22 11:09 011802.ace
> -rw-rw----    1 chauser  staff      505976 Aug 22 11:09 allele.ace
> -rw-rw----    1 chauser  staff        2275 Aug 22 11:09 ccs1temp2.ace
> -rw-rw----    1 chauser  staff        1133 Aug 22 11:09 contact_fix1.ace
> -rw-rw----    1 chauser  staff        1157 Aug 22 11:09 contact_fix2.ace
> -rw-rw----    1 chauser  staff         252 Aug 22 11:09 contact_fix3.ace
> -rw-rw----    1 chauser  staff        1133 Aug 22 11:09 contact_fix.ace
> drwxrwx---    3 chauser  staff        4096 Aug 22 11:45 database
> -rw-rw----    1 chauser  staff        3255 Aug 22 11:09 test.ace
> drwxrwx---    2 chauser  staff        4096 Aug 22 11:44 wspec


so to start xace you need to this:

[chauser at pandorina chuckDB]$ xace .

the "." is resolved to the name of the current directory, i.e. your database.


You can also just tell xace where the directory is explicitly, for instance if
your database was   /my/directory/some/where/on/my/disk/my_database  you could
type this:

[chauser at pandorina chuckDB]$ xace /my/directory/some/where/on/my/disk/my_database


Does that make sense ?  If not then mail me direct and I will give you some more
help.

cheers Ed
-- 
 ------------------------------------------------------------------------
| Ed Griffiths, Acedb development, Informatics Group,                    |
|        Wellcome Trust Sanger Institute, Wellcome Trust Genome Campus,  |
|               Hinxton, Cambridge CB10 1SA, UK                          |
|                                                                        |
| email: edgrif at sanger.ac.uk  Tel: +44-1223-494780  Fax: +44-1223-494919 |
 ------------------------------------------------------------------------





More information about the Acedb mailing list

Send comments to us at biosci-help [At] net.bio.net