Home > Database > Mysql Tutorial > body text

Access数据库出现“无法保存;正被别的用户锁定”的原因

WBOY
Release: 2016-06-07 18:07:27
Original
2677 people have browsed it

ACCESS的并发控制很不好,记得每次操作完关闭数据库

发生这种情况一般是没有释放数据库资源造成的,也可能由于lock table,for update等独占式操作引起的.注意使用完数据库资源要及时释放,尤其是在使用过程中出现异常时要保证资源可以被释放.
要及时调用数据库链接的close()方法

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!