Mysql 执行安装脚本报错Changed limits:
2024-09-05 07:17:26
安装Mysql软件的时候报错,如下:
[root@db bin]# ./mysql_install_db --basedir=/usr/local/mysql --datadir=/u01/app/mysql/data/ --user=mysql
2019-11-09 22:33:39 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
2019-11-09 22:33:49 [WARNING] The bootstrap log isn't empty:
2019-11-09 22:33:49 [WARNING] 2019-11-09T14:33:39.288358Z 0 [Warning] --bootstrap is deprecated. Please consider using --initialize instead
2019-11-09T14:33:39.289083Z 0 [Warning] Changed limits: max_open_files: 1024 (requested 5000)
2019-11-09T14:33:39.289096Z 0 [Warning] Changed limits: table_open_cache: 431 (requested 2000)
搞定系统的max_open_files限制
vi /etc/security/limits.conf ,最后面增加两行
* hard nofile 65535 PS:大于50000即可
* soft nofile 65535
最新文章
- Leetcode 笔记 98 - Validate Binary Search Tree
- WCF服务的异常消息
- Pycharm快捷方式
- jQuery – 3.JQuery的Dom操作
- Scala vs. Groovy vs. Clojure
- [解决]ASP.NET MVC 4/5 源码调试(source code debug)
- java.lang.String小测试
- C#遍历Object各个属性含List泛型嵌套。
- poj1220 (高精度任意进制转换)
- Grunt之学习历程(转自网上资源-整理自用)
- latex如何把目录页的页码去掉?
- SQL中采用Newtonsoft.Json处理json字符串
- 阿里CEO张勇:阿里蚂蚁20亿元扶持开发者
- 洛谷P4016负载平衡
- Weekly Contest 126
- Spring @Autowired注解在非Controller中注入为null
- 「SHOI2015」(LOJ2038)超能粒子炮・改
- c++沉思录 学习笔记 第六章 句柄(引用计数指针雏形?)
- form表单钩子,局部钩子和全局钩子
- PowerDesigner生成OOM时类名属性名转换