V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
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 · 2020-11-03 12:16:23 +08:00 · 2590 次点击
    这是一个创建于 1267 天前的主题,其中的信息可能已经有所发展或是发生改变。
    用 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 条回复    2020-11-03 13:40:21 +08:00
    ytymf
        1
    ytymf  
       2020-11-03 13:15:59 +08:00
    不太懂路过,看起来像是连接驱动的问题,要不要换个试试看? mysqlclient 之类的。期待楼下解答。
    mingl0280
        2
    mingl0280  
       2020-11-03 13:40:21 +08:00 via Android
    如果是 Windows 检查你数据库目录权限给够没……
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3600 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 10:53 · PVG 18:53 · LAX 03:53 · JFK 06:53
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.