Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8573329
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:13:27+00:00 2026-06-11T19:13:27+00:00

My sqlite3 database display this error: Array ( [0] => HY000 [1] => 5

  • 0

My sqlite3 database display this error:

Array (
  [0] => HY000
  [1] => 5
  [2] => "database is locked"
)

I have used php PDO for connect sqllite3 database.I have successfully read from database but cannot update/insert into database. It is always shows above error.

I have tried 777 rights to database and also test with it but got the same result.

I have solved above problem using $db->beginTransaction(); and $dbhandle->commit();

Now problem is that I have used begintransaction before update query and commit after execute the query.Query return true every time but does not affect in database. any idea about it ?

Note: Query took long time to display error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T19:13:28+00:00Added an answer on June 11, 2026 at 7:13 pm

    I have solved my problem.

    Problem in sqlite3 database.I have used sqlite3 3.6.22 on Ubuntu 10.04, This sqlite3 does not support multithreading so I have tested on sqlite3 3.7.7 version and use Pragma command read from http://www.sqlite.org/wal.html.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this releases table in a SQLite3 database, listing each released version of
I have a database SQLite and then using SimpleCursorAdapter , I display values into
I have a sqlite3 database with a datetime field, the format of the date/time
I have a sqlite3 database in which I have corrupt data. I qualify corrupt
I have the following table in a SQLite3 database: CREATE TABLE overlap_results ( neighbors_of_annotation
I have a table of events (in a sqlite3 database for what it's worth)
I am trying to connect to a database from my rails app. This database
I have a database from which I want to query and display only that
I have got an SQLite3 Database with several images in it. I want to
I have a ListActivity that uses a CursorAdapter to display some data. This data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.