MySQL 5.5 Community Server
MySQL 5.6 Community Server
Percona Configuration Wizard
XtraBackup 搭建主从复制
Great Sites on MySQL
Percona
MySQL Performance Blog
Severalnines
推荐管理工具
Sequel Pro
phpMyAdmin
推荐书目
MySQL Cookbook
MySQL 相关项目
MariaDB
Drizzle
参考文档
http://mysql-python.sourceforge.net/MySQLdb.html
alex321
V2EX  ›  MySQL

MySQL 5.6.50 查询出现了个奇怪异常,求教

  •  
  •   alex321 ·
    alexroyce315 · Nov 3, 2020 · 3191 views
    This topic created in 2100 days ago, the information mentioned may be changed or developed.
    用 Python 查询 MySQL 5.6.50 。有一个对列表数据进行遍历查询,然后经常在查询 1 条或者多条的情况下出现这样异常中断。Google 了一圈没找到啥原因。

    pymysql.err.InternalError: (7, "Error on rename of '.\\test_db\\total_count.frm~'
    to '.\\test_db\\total_count.frm' (Errcode: 13 - Permission denied)")

    按 StackOverFlow 上 https://stackoverflow.com/questions/34522616/mysql-errcode-13-permission-denied,已经排查过杀毒软件的影响。
    2 replies    2020-11-03 13:40:21 +08:00
    ytymf
        1
    ytymf  
       Nov 3, 2020
    不太懂路过,看起来像是连接驱动的问题,要不要换个试试看? mysqlclient 之类的。期待楼下解答。
    mingl0280
        2
    mingl0280  
       Nov 3, 2020 via Android
    如果是 Windows 检查你数据库目录权限给够没……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5773 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 02:08 · PVG 10:08 · LAX 19:08 · JFK 22:08
    ♥ Do have faith in what you're doing.