On Linux forcecreatedatabase error

Discussion of open issues, suggestions and bugs regarding LiteDAC (SQLite Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Tim Hayes
Posts: 5
Joined: Sat 30 Sep 2017 16:06

On Linux forcecreatedatabase error

Post by Tim Hayes » Tue 18 Jun 2019 14:31

HI all,

I am developing a Linux program with Delphi 10.2 and Ubuntu 16.04.

I am seeking to create a temporary database for SQLite (direct). When I connect the database connection I get the following error:

Attempting to run both in debug mode in the IDE and release mode directly on the server, with on forcecreatedatabase set the sytem returns an error - cannot create file "/root/fst3db.sl3" ; System Error 2

I expect I am getting an issue with permissions - but cannot see how to set permission,

I would be grateful for assistance, please, with a work-around?

Many thanks.

Tim Hayes

Devart Team
Posts: 240
Joined: Thu 05 Apr 2012 07:32

Re: On Linux forcecreatedatabase error

Post by ZEuS » Wed 26 Jun 2019 09:29

Unfortunately, we haven't been able to reproduce the issue. Please compose and send us a small sample that demonstrates the described behavior via the contact form http://devart.com/company/contactform.html .

Post Reply