On Linux forcecreatedatabase error
Posted: 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
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