You need path from root of file system so if home is in normal place off root, start with /home, also put db name as the last responder said
Gerald Klein DBA [email protected] www.geraldklein.com geraldklein.wordpress.com [email protected] 708-599-0352 Arch/Gentoo Awesome, Ranger & Vim the coding triple threat. Linux registered user #548580 From: Nigel Legg Sent: Thursday, July 25, 2013 5:43 AM To: [email protected] So should I put home/stats_portal/stats_/portal/myproject/myproject/database/sqlite3 ? (settings.py in second myproject folder) The database file name is sqlite3, this worked on Windows with no file extension, does Linux require it? Regards, Nigel Legg 07914 740972 http://www.trevanianlegg.co.uk http://twitter.com/nigellegg http://uk.linkedin.com/in/nigellegg On 25 July 2013 11:18, Gerald Klein <[email protected]> wrote: It looks fine but that depends on your folder structure but this is showing "myproject" off the root of the file system, is that correct? On Thu, Jul 25, 2013 at 5:12 AM, Nigel Legg <[email protected]> wrote: I have just moved my project from Windows to Linux. I have maintained the folder structure, but am getting the message "Unable to open database file - sqlite3". Settings as follows: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/myproject/database/sqlite3', 'USER': '', 'PASSWORD': '', 'HOST': '', 'PORT': '', } } I'm very new at using Linux, is this a path definition error? Cheers,Nigel -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out. -- Gerald Klein DBA [email protected] www.geraldklein.com geraldklein.wordpress.com [email protected] 708-599-0352 Arch Awesome, Ranger & Vim the coding triple threat. Linux registered user #548580 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.

