Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2003
    Posts
    2

    Unanswered: MySql- my.cnf file gets renamed to my.cnf.bak

    Hello,

    I would appreciate if someone can help me with this problem.
    my.cnf ( we have it in the root directory) gets renamed to my.cnf.bak.
    So the next time the machine starts up, mysql cannot start as the my.cnf is missing.

    Can someone tell why the file is getting renamed and what I can do to prevent it.

    Thanks!

  2. #2
    Join Date
    Apr 2003
    Posts
    9
    lol! What editor are you using when you work with the my.cnf file? Normally, it's an editor that will do things like this.

    Also, what OS are you using?

    Cheers,
    BDKR

  3. #3
    Join Date
    Apr 2003
    Posts
    2
    OS: win 2000

    Nope, I am not editing the file. The renaming to my_cnf.bak happens
    when I shutdown my computer. So once I restart the machine, only the .bak file exists.

  4. #4
    Join Date
    Apr 2003
    Posts
    9
    If what you say is correct, then this is the wrong forum. It's something happening (for whatever reason) at the OS level. One more thing: How are you renaming the file?

    I'm glad I left Windows behind in 1998.

    Cheers,
    BDKR

  5. #5
    Join Date
    Sep 2002
    Location
    Montreal, Canada
    Posts
    224
    Provided Answers: 1

    Re: MySql- my.cnf file gets renamed to my.cnf.bak

    Originally posted by usundare
    Hello,

    I would appreciate if someone can help me with this problem.
    my.cnf ( we have it in the root directory) gets renamed to my.cnf.bak.
    So the next time the machine starts up, mysql cannot start as the my.cnf is missing.

    Can someone tell why the file is getting renamed and what I can do to prevent it.

    Thanks!
    That behavior usually happens when you use MySQLManager (the GUI interface client/manager). Did you use that application since this problem begun?

    1-Make sure that app does not start automatically. If it is started, gently shutdown the MySQL server via that app. Then make sure that app does not start automatically.

    2-Rename your my.cnf.bak to my.cnf.

    3-Check if that GUI app did change your service settings and make sure MySQL will start with the proper options.

    4-Reboot and enjoy!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •