当前位置:网站首页>QT connection MySQL data query failed
QT connection MySQL data query failed
2022-06-26 10:58:00 【CSDN Q & A】
problem
Normal at initial query , You can find the data
The software does not operate approximately 10 minute , We can't find the data
You can confirm that the database is still connected
Related codes
QSqlQuery query; QString sql = QString("SELECT word,mean,time FROM words WHERE id = '%1'").arg(id); qDebug() << sql << '\n'; query.exec(sql); qDebug() << query.size() << '\n'; wordInfo t; while(query.next()) { qDebug() << "word" << '\n'; }
My solution ideas and tried methods
There is no problem with the time configuration displayed in the database
边栏推荐
- Alibaba cloud OSS - object storage service (tool)
- Some problems of feign transferring multipartfile
- 【北邮果园微处理器设计】10 Serial Communication 串口通信笔记
- [work details] March 18, 2020
- Opencv image processing - grayscale processing
- SwiftUI 开发经验之为离线优先的应用程序设计数据层
- Expand and collapse too high div
- Work report (3)
- Fabric. JS upper dash, middle dash (strikethrough), underline
- Moore vote, leetcode169, leetcode229
猜你喜欢
See how I store integer data in the map < string, string > set
Développeur, quelle est l'architecture des microservices?
Quantitative investment learning - Introduction to classic books
SVN 安装配置
Express (I) - easy to get started
JS reverse | four libraries and one platform response data encryption
Vscode environment setup: synchronous configuration
【深度学习理论】(7) 长短时记忆网络 LSTM
Developers, what is the microservice architecture?
ACK攻击是什么意思?ACK攻击怎么防御?
随机推荐
Work report (2)
Quantitative investment learning - Introduction to classic books
[online simulation] Arduino uno PWM controls the speed of DC motor
Progressive Web 应用程序PWA是应用程序开发的未来
consul微服务治理中心踩坑
ISO 26262之——2功能安全概念
Introduction to sysbench Basics
See how I store integer data in the map < string, string > set
Windows and Linux regularly backup MySQL database
目前为止最全的Kubernetes最新版核心命令
Oracle sqlplus 查询结果显示优化
磁带库简单记录1
Write data to local file
Mysql 30条军规
Docker中实现MySQL主从复制
MySQL第十二次作业-存储过程的应用
MySQL seventh job - update data
RDB持久化验证测试
在Oracle中update大量数据会不会导致undo空间爆掉
Idea remote debugger