The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to access my.cnf or my.ini

Discussion in 'General Discussion' started by wmowat, May 20, 2005.

  1. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    I am not very good with shell, and was wondering exactly how to access this file? I just need the command. I am trying to optimize mySQL's query cache.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You want to have a look online for a good Linux (presuming that;s what you're running) starter on how to move around the shell. In the meantime, probably the simplest editor you can use is pico:

    pico -w /etc/my.cnf

    You can also use SFTP (FTP over SSH) using something like FileZilla:
    http://filezilla.sf.net

    But do take care.
     
  3. wmowat

    wmowat Member

    Joined:
    Jul 11, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    North Bay, ON, Canada
    Thank you very much for your help
     
Loading...

Share This Page