1. 警惕假冒网站,防止密码泄露! 近期发现部分网站几乎完全抄袭本站内容和版面
    在此声明: 本站没有所谓的分站, 我们的网址是 www.applex.net
    排除公告
  2. Mac用户Telegram电报群
    注意: 请在50秒内验证提问 https://t.me/mac_osx
    排除公告

Directadmin Optimize MySQL

本帖由 Bill2011-02-25 发布。版面名称:谈天说地

  1. Bill

    Bill 老牛 管理成员

    注册:
    2010-11-01
    帖子:
    5,415
    There is a default my.cnf that comes with mysql (4+5) that will make mysql run a bit quicker if you have 2+ gig of ram

    There is also my-huge.cnf, or my-medium.cnf depending on your hardware setup. Check the contents of these my*.cnf files for the one that's right for you.

    If you've got mysql 4 (and not mysql 5), then you can use the following code in your /etc/my.cnf:

    Press 'i' to enter insert mode, then paste:


    Press ctrl-c to exit insert mode. Then press shift-Z shift-Z to save and quit. Restart mysqld:

    Redhat:

    FreeBSD:





    http://help.directadmin.com/item.php?id=44
     
  2. Bill

    Bill 老牛 管理成员

    注册:
    2010-11-01
    帖子:
    5,415
     
  3. Bill

    Bill 老牛 管理成员

    注册:
    2010-11-01
    帖子:
    5,415
    DANginx 3.0
     
  4. Bill

    Bill 老牛 管理成员

    注册:
    2010-11-01
    帖子:
    5,415
    my.cnf
     
  5. Bill

    Bill 老牛 管理成员

    注册:
    2010-11-01
    帖子:
    5,415
    DA默认配置文件
    /etc/my.cnf