设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย french

搜索
热搜: 活动 交友 discuz

Hostrail 装完MYSQL最后一句提示我无语了! [复制链接]
查看:82 | 回复:7

21

主题

97

回帖

287

积分

中级会员

积分
287
发表于 2011-1-1 15:06:14 | 显示全部楼层 |阅读模式
[ol]
  • Initializing MySQL database:  Installing MySQL system tables...
  • OK
  • Filling help tables...
  • OK
  • To start mysqld at boot time you have to copy
  • support-files/mysql.server to the right place for your system
  • PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
  • To do so, start the server, then issue the following commands:
  • /usr/bin/mysqladmin -u root password 'new-password'
  • /usr/bin/mysqladmin -u root -h localhost password 'new-password'
  • Alternatively you can run:
  • /usr/bin/mysql_secure_installation
  • which will also give you the option of removing the test
  • databases and anonymous user created by default.  This is
  • strongly recommended for production servers.
  • See the manual for more instructions.
  • You can start the MySQL daemon with:
  • cd /usr ; /usr/bin/mysqld_safe &
  • You can test the MySQL daemon with mysql-test-run.pl
  • cd mysql-test ; perl mysql-test-run.pl
  • Please report any problems with the /usr/bin/mysqlbug script!
  • The latest information about MySQL is available on the web at
  • http://www.mysql.com
  • Support MySQL by buying support/licenses at http://shop.mysql.com
  •                                                            [  OK  ]
  • /etc/init.d/mysqld: fork: Cannot allocate memory[/ol]复制代码之前就yum -y update

    service mysqld start 看内存就满了,然后mysqld进程就消失了.....

    他们家的重装系统在后台哪里呀,这后台不会用
  • 14

    主题

    1403

    回帖

    2934

    积分

    金牌会员

    积分
    2934
    发表于 2011-1-1 15:08:55 | 显示全部楼层
    邮箱里有啊,进入后台rebuild就好

    103

    主题

    4835

    回帖

    1万

    积分

    论坛元老

    积分
    10071
    发表于 2011-1-1 15:10:28 | 显示全部楼层
    可喜可贺啊,换个 my.cnf (或者改改里头的参数)试试?

    405

    主题

    1万

    回帖

    2万

    积分

    论坛元老

    积分
    24541
    发表于 2011-1-1 15:10:30 | 显示全部楼层
    编辑MY.CNF,加上三行优化命令。
    skip-bdb
    skip-innodb
    skip-locking

    21

    主题

    97

    回帖

    287

    积分

    中级会员

    积分
    287
     楼主| 发表于 2011-1-1 15:11:37 | 显示全部楼层
    回楼上的 加三行




      加哪三行

    21

    主题

    97

    回帖

    287

    积分

    中级会员

    积分
    287
     楼主| 发表于 2011-1-1 15:14:20 | 显示全部楼层
    加上三行后
    # service mysqld start
    Starting MySQL:                                            [  OK  ]

    再看内存
    Mem:    262144k total,    40956k used,

    51

    主题

    1301

    回帖

    2865

    积分

    金牌会员

    积分
    2865
    发表于 2011-1-1 17:02:15 | 显示全部楼层
    BDB是啥东西?占内存多吗?

    32

    主题

    684

    回帖

    1494

    积分

    金牌会员

    积分
    1494
    发表于 2011-1-1 17:11:10 | 显示全部楼层
    BerkeleyDB,没什么用处,而且 mySQL 5.1 之后都不支持这个了。
    您需要登录后才可以回帖 登录 | 立即注册

    论坛客服/商务合作/投诉举报:2171544 (QQ)
    落伍者创建于2001/03/14,本站内容均为会员发表,并不代表落伍立场!
    拒绝任何人以任何形式在本论坛发表与中华人民共和国法律相抵触的言论!
    落伍官方微信:2030286 邮箱:(djfsys@gmail.com|tech@im286.com)
    © 2001-2014

    浙公网安备 33060302000191号

    浙ICP备11034705号 BBS专项电子公告通信管[2010]226号

      落伍法律顾问: ITlaw-庄毅雄

    Archiver|手机版|Discuz! X

    GMT+8, 2026-6-14 08:46 , Processed in 0.031007 second(s), 4 queries , Gzip On, Redis On.

    返回顶部