initially I'd created given the path as /home/mark/database/mark.db
but that gave me the same error so I wanted to try creating it in the
same place as sqlite3 existed, with the same results.

Mark


On May 27, 6:29 am, Jirka Vejrazka <jirka.vejra...@gmail.com> wrote:
> Hi,
>
>   you're creating your database file in /usr/bin which is intended for
> system executable files, not databases etc. It's highly likely that
> you don't even have write permissions there (unless you work using the
> "root" account which is a big NO-NO).
>
>   Set your database file somewhere where you can write for sure, such
> as /home/<myusername>/test_db.db.
>
>   You can easily find out if you have write permissions somewhere by
> using the "touch" command, i.e. "touch /home/<myusername>/test_db.db -
> it'll either create an empty file which means that this path is OK for
> your database, or give you an error.
>
>   HTH
>
>     Jirka

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to