mysql 启动时,报错一般都不明显,因此我们需要配置错误日志
#vim /etc/my.cnf
xxxxxxxxxx
1
 
1
#vim /etc/my.cnf
在[mysqld]下添加
log_error = /var/log/mysql/error.log
x
 
1
log_error = /var/log/mysql/error.log
再次启动时,如果出现错误,启动不起来,就可以去日志文件中,查看详细错误信息

最新文章

  1. 希尔伯特矩阵(Hilbert matrix)
  2. Java throws Exception、try、catch
  3. Key/Value存储系统etcd的特性
  4. mongodb新手入门,mongodb命令学习
  5. flexslider
  6. Vue自带的过滤器
  7. SQL 1:常用SQL语句
  8. (转)oracle字符集与汉字
  9. HDU-4747 Mex 线段树
  10. C/C++错误分析errno,perror,strerror和GetLastError()函数返回的错误代码的意义
  11. CDC 虚拟com口
  12. JS 的Date对象
  13. HDU 2685 I won't tell you this is about number theory
  14. hdu 1007 最近点对问题(Splay解法)
  15. SQL函数学习(一):substring()函数
  16. stickUp.js:98 Uncaught ReferenceError: vartop is not defined at HTMLDocument.<anonymous> (stickUp.js:98)
  17. Poj2749:Building roads
  18. 网站开发进阶(十六)错误提示:Multiple annotations found at this line:- basePath cannot be resolved to a variable
  19. 洛谷题解 CF807A 【Is it rated?】
  20. window7 32位部署django

热门文章

  1. document.onclick在ios上不触发的解决方法与touchstart点击穿透处理
  2. clientX,offsetX,layerX,pageX,screenX,X鼠标位置全解
  3. linux命令(10):ps命令
  4. y=y||'world'与y=y?y:'world'
  5. python读写xml文件
  6. Go语言基础单元测试示例
  7. AC日记——【模板】Link Cut Tree 洛谷 P3690
  8. mac安装jdk1.8
  9. react native android应用启动画面
  10. Ubuntu下各种环境变量设置