Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Posts
    1

    Unanswered: mysqld-nt service does not work with default-file

    I am trying to avoid using the standard configuration files ( security reasons) C:\my.cnf or C:\winnt\my.ini so on Win2k pro I installed mysqld:

    d:\pf\mysql\bin>D:\PF\mysql\bin\mysqld-nt.exe --install mysql --defaults-file=D:/MC/mysql/mysqlmed.cnf
    Service successfully installed.

    d:\pf\mysql\bin>net start mysql
    The service is not responding to the control function.

    More help is available by typing NET HELPMSG 2186.

    Also trying to start from Win Services I get :
    Error 1053: The service did not respond to the start or control request in a timely fashion.

    I mention that starting in forground works fine:
    D:\PF\mysql\bin\mysqld-nt --defaults-file=D:/MC/mysql/mysqlmed.cnf

    also copying D:/MC/mysql/mysqlmed.cnf to c:\winnt\my.ini and

    d:\pf\mysql\bin>D:\PF\mysql\bin\mysqld-nt.exe --install
    d:\pf\mysql\bin>net start mysql
    works !

    Any ideas ?
    Thks,
    MC

  2. #2
    Join Date
    Nov 2003
    Posts
    1

    Re: mysqld-nt service does not work with default-file

    maci,

    I am having same issue on my WIN2k and MySql 4.0.15

    Where you able to resolve it? Looked up throw different
    news groups and can't find an answer on this. Please post if
    you get any resolution.

    Thanks

    Tushar

    Originally posted by maci
    I am trying to avoid using the standard configuration files ( security reasons) C:\my.cnf or C:\winnt\my.ini so on Win2k pro I installed mysqld:

    d:\pf\mysql\bin>D:\PF\mysql\bin\mysqld-nt.exe --install mysql --defaults-file=D:/MC/mysql/mysqlmed.cnf
    Service successfully installed.

    d:\pf\mysql\bin>net start mysql
    The service is not responding to the control function.

    More help is available by typing NET HELPMSG 2186.

    Also trying to start from Win Services I get :
    Error 1053: The service did not respond to the start or control request in a timely fashion.

    I mention that starting in forground works fine:
    D:\PF\mysql\bin\mysqld-nt --defaults-file=D:/MC/mysql/mysqlmed.cnf

    also copying D:/MC/mysql/mysqlmed.cnf to c:\winnt\my.ini and

    d:\pf\mysql\bin>D:\PF\mysql\bin\mysqld-nt.exe --install
    d:\pf\mysql\bin>net start mysql
    works !

    Any ideas ?
    Thks,
    MC

Posting Permissions

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