note 123574 added to sqlite3.exec
| From: | dreamhunter@php.net | Date: | Thu, 31 Jan 2019 17:38:34 +0000 |
| Subject: | note 123574 added to sqlite3.exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210152@lists.php.net to get a copy of this message | ||
hello guys,
easy fix for error "exec(): unable to open database file"
reason : - exec() function need to create some temp files for query execution and the database file
was placed some where ,there you don't have permission to create a new file(most commonly on
' c: drive')
easy fix:- copy the entire folder(including the database file) to drive other than c => it will
work
==================HAPPY CODING=============================
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.142 (proxied: 5.244.218.232)
----
Manual Page -- http://php.net/manual/en/sqlite3.exec.php
Edit -- https://master.php.net/note/edit/123574
Del: integrated -- https://master.php.net/note/delete/123574/integrated
Del: useless -- https://master.php.net/note/delete/123574/useless
Del: bad code -- https://master.php.net/note/delete/123574/bad+code
Del: spam -- https://master.php.net/note/delete/123574/spam
Del: non-english -- https://master.php.net/note/delete/123574/non-english
Del: in docs -- https://master.php.net/note/delete/123574/in+docs
Del: other reasons-- https://master.php.net/note/delete/123574
Reject -- https://master.php.net/note/reject/123574
Search -- https://master.php.net/manage/user-notes.php