1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Where is mysql config file?

Discussion in 'Plesk for Linux - 8.x and Older' started by ThE-KinG, May 29, 2005.

  1. ThE-KinG

    ThE-KinG Guest

    0
     
    Hello friends,

    How can I find my.cnf file on plesk 7.5.3. Normally It was in the /etc but I haven't found in there.

    Code:
    server# find my.conf
    find: my.conf: No such file or directory
    server# find my.cnf
    find: my.cnf: No such file or directory
    mySQL version is 4.1 and OS is freebsd : ).

    Thank you so much for your replies.
     
  2. ThE-KinG

    ThE-KinG Guest

    0
     
    Any idea?

    - Thanks
     
  3. WebDork

    WebDork Guest

    0
     
    [root@angusserver4 root]# locate my.cnf
    /etc/my.cnf
    /etc/my.cnf-original
     
  4. ThE-KinG

    ThE-KinG Guest

    0
     
    Code:
    root# locate my.cnf
    root#
    Could you please include your my.cnf file here.

    I will re-create this file on my machine.
     
  5. WebDork

    WebDork Guest

    0
     
    Better if you use the examples on your own server...

    eg

    [root@www root]# locate my-large.cnf
    /usr/share/doc/mysql-server-4.0.23a/my-large.cnf

    The files in this dir (in my case):
    /usr/share/doc/mysql-server-4.0.23a/

    are sample files that probably work best for your setup. But make a backup of your original just in case.
     
  6. ThE-KinG

    ThE-KinG Guest

    0
     
    I have found,

    my-huge.cnf
    my-innodb-heavy-4G.cnf
    my-large.cnf
    my-medium.cnf
    my-small.cnf

    In /usr/local/psa/mysql/share/mysql

    I copied my-medium.cnf as my.cnf in the /etc folder. Working without problem now.

    Thanks.
     
Loading...