当前位置:网站首页>[Warning] TIMESTAMP with implicit DEFAULT value is deprecated
[Warning] TIMESTAMP with implicit DEFAULT value is deprecated
2022-06-10 20:18:00 【乐大师】
一台测试服务器的MySQL服务出现问题,而且无法重启服务。
使用kill杀mysqld进程,mysql进程成为了僵尸进程,依旧存在。

最后采取重启服务器的粗暴办法。
结果重启过程中,mysql关闭用提示要20分钟。在漫长等待后,终于启动起来了。
各项服务也正常了。
为了搞清楚问题,看了下mysqld.log内容。
里面有2个提示觉得有点用。
1个是提示zanao数据库的一个表的错误,提示如下:
[ERROR] /usr/sbin/mysqld: Incorrect key file for table './zentao/zt_cron.MYI'; try to repair it
另一个是启动服务的一个警告,内容如下:
[Warning] TIMESTAMP with implicit DEFAULT value is deprecated
做了如下设置,再次启动mysql服务警告就消失了。
[mysqld]
explicit_defaults_for_timestamp=true
第一个错误是服务器安装的禅道平台数据库表损坏后导致的错误提示。
实际上禅道平台在打开页面时,也报大量错误。
边栏推荐
- Power set V4 recursion of brute force method /1~n
- The excess part of the table setting is hidden. Move the mouse to display all
- Leetcode advanced path - reverse string
- Brute force method /k integers out of 1~n integers
- A small case with 666 times performance improvement illustrates the importance of using indexes correctly in tidb
- What should be paid attention to when designing Multilayer PCB?
- 编程式导航路由跳转到当前路由(参数不变), 多次执行会抛出NavigationDuplicated的警告错误?
- MySQL Basics
- H265 Nalu类型判断及 sps 数据解析
- Is Jiuzhou futures regular? Is it safe to open an account
猜你喜欢

Pytorch deep learning -- convolution operation and code examples

LeetCode:1037. Effective boomerang - simple

"O & M youxiaodeng" self service account unlocking tool

Asynchronous, thread pool (completablefuture)

Arduino中Serial.print()与Serial.write()函数的区别,以及串口通信中十六进制与字符串的收发格式问题和转换过程详解

Practical | how to use burp suite for password blasting!

Will your company choose to develop data center?

Software definition boundary (SDP)

Self attention and multi head attention

CET-6 - Business English - the last recitation before the test
随机推荐
Redis set password command (temporary password)
Pytorch deep learning -- convolution operation and code examples
Redis缓存穿透
【Educational Codeforces Round 120 (Rated for Div. 2)】C. Set or Decrease
A small case with 666 times performance improvement illustrates the importance of using indexes correctly in tidb
Leetcode divides the array so that the maximum difference is k
LeetCode 进阶之路 - 125.验证回文串
LeetCode:497. 非重叠矩形中的随机点————中等
Cas de test app
Read the source code of micropyton - add the C extension class module (2)
app测试用例
Obtained network time + time zone (+8)
MySQL Basics
Realize OSD reverse color on YUV image according to background color
游戏兼容性测试(通用方案)
Pytorch deep learning -- neural network convolution layer conv2d
Is it safe to buy funds on mobile phones? Will the principal be swallowed?
pytorch深度学习——神经网络卷积层Conv2d
Quick start to VISSIM simulation
Full Permutation V3 recursion of brute force method /1~n