#2097 closed enhancement (worksforme)
trac-admin should be more clear about database
Reported by: | anonymous | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | admin/console | Version: | 0.9b1 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I just installed trac 0.9b1 on my windows system.
When calling trac-admin I am asked for a database like this
Please specify the connection string for the database to use. By default, a local SQLite database is created in the environment directory. It is also possible to use an already existing PostgreSQL database (check the Trac documentation for the exact connection string syntax). Database connection string [sqlite:db/trac.db]>
OK what now?
What should I type in if I use no database.
So I installed pysqlite 2. Result: nothing worked. (Note the modules name is pysqlite2 in python\lib\site-packages\pysqlite2, so in python you must say import pysqlite2)
After this I installed Pysqlite 1, this one in installed as sqlite in python\lib\site-packages\sqlite
Now it worked, but I still don't know how to use it without sqlite standalone.
Attachments (0)
Change History (8)
comment:1 by , 19 years ago
Milestone: | → 0.9 |
---|---|
Owner: | changed from | to
Priority: | normal → low |
Status: | new → assigned |
Type: | task → enhancement |
comment:2 by , 19 years ago
Hi thanks for the info.
I was fooled by the fact that on TracInstall there is written:
and can use SQLite or PostgreSQL as database.
This little can word and the fact that pysqlite is not mentioned in the requirements, made me think that it works completely without pysqlite.
Now i know that pysqlite is a must.
But by the way: trac 0.9b1 works only with pysqlite 1 not with pysqlite 2..
at least on windows xp with python 2.3.5.
comment:3 by , 19 years ago
Component: | wiki → trac-admin |
---|
comment:4 by , 19 years ago
Milestone: | 0.9 → 0.9.1 |
---|
comment:5 by , 19 years ago
Milestone: | 0.9.1 → 0.9.2 |
---|
comment:6 by , 19 years ago
Milestone: | 0.9.3 → 0.9.4 |
---|
comment:7 by , 19 years ago
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
Actually, I think what we have now is good enough, unless someone comes up with a concrete proposal for improvement.
comment:8 by , 19 years ago
Milestone: | 0.9.4 |
---|
The text says “check the Trac documentation for the exact connection string syntax”. Now, the corresponding documentation is a bit hidden, but you should find this.
I've added a link to this section directly from TracInstall. This change will be merged into the INSTALL file, too.
But yes, the admin output could also be improved a bit.