Home » Topic » Django SQLite Unable to Open Database File

Django SQLite Unable to Open Database File

Andrew Jackson ~ Modified: August 8th, 2015 ~ ~ 1 Minute Reading

Home Forums Django SQLite Unable to Open Database File

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #442 Score: 0
    Andrew Jackson
    Moderator
    1 pt

    I am getting SQLite error 14 when running python manage.py syncdb.
    Any Suggestion? How To fix it?

    #444 Score: 0
    Lincoln Burrows
    Moderator
    16 pts

    Change the DATABASE_NAME to an absolute path: /var/www/apps/apps.db.

    On a windows machine, backslash should be escaped like: C:\\path\\to\\database\\database_name.db.

    #539 Score: 0
    Stephen West
    Moderator
    4 pts

    use this

      ‘ENGINE’: ‘django.db.backends.sqlite3’,
      ‘NAME’: ‘/home/neo/django/db/data.sqlite3’
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.