zoukankan      html  css  js  c++  java
  • Mysql 执行安装脚本报错Changed limits:

    安装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

  • 相关阅读:
    作业八
    作业七:用户体验设计案例分析
    作业六。合作编程
    作业五:需求分析
    作业四:结对编程2
    作业四:合作
    作业三:词频统计
    学习进度表
    java程序练习
    简单博客练习
  • 原文地址:https://www.cnblogs.com/guipeng/p/11828477.html
Copyright © 2011-2022 走看看