Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Senior Member AndrewFG's Avatar
    Join Date
    Mar 2008
    Posts
    781

    Error: Couldn't install MySQL as a service!

    Hi,

    I am starting SqueezeCenter as a service. However the "server.log" file reports the following error:

    <quote>
    Server [08-03-12 19:12:40.7545] Slim::Utils::MySQLHelper::startServer (272) Error: Couldn't install MySQL as a service! Will run as a process!
    </quote>

    Any idea what is causing this?
    Regards,
    AndrewFG

    Try out Whitebear. The middleware that joins the two worlds of:
    1. UPnP/DLNA media clients and media players, and,
    2. Squeezebox Server and Squeeze Players
    Download it for free here: http://www.whitebear.ch/mediaserver

  2. #2
    bum Ross L's Avatar
    Join Date
    Mar 2006
    Location
    San Jose, CA
    Posts
    404
    What operating system?
    Ross L

  3. #3
    Senior Member AndrewFG's Avatar
    Join Date
    Mar 2008
    Posts
    781
    Quote Originally Posted by Ross L View Post
    What operating system?
    Vista Ultimate 32 bit with all the updates...
    Regards,
    AndrewFG

    Try out Whitebear. The middleware that joins the two worlds of:
    1. UPnP/DLNA media clients and media players, and,
    2. Squeezebox Server and Squeeze Players
    Download it for free here: http://www.whitebear.ch/mediaserver

  4. #4
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,454

    Error: Couldn't install MySQL as a service!

    > I am starting SqueezeCenter as a service. However the "server.log" file
    > reports the following error:


    And it's starting successfully?

    > Server [08-03-12 19:12:40.7545] Slim::Utils::MySQLHelper::startServer
    > (272) Error: Couldn't install MySQL as a service! Will run as a
    > process!
    > Any idea what is causing this?


    Are you running the service under a certain account? If so, maybe that user doesn't have the privileges to install services. But it's nothing critical if MySQL can be run as a process. It just takes a bit longer to start SC.

    --

    Michael

  5. #5
    Senior Member JJZolx's Avatar
    Join Date
    Apr 2005
    Location
    Colorado
    Posts
    11,548
    Quote Originally Posted by Michael Herger View Post
    Are you running the service under a certain account? If so, maybe that user doesn't have the privileges to install services. But it's nothing critical if MySQL can be run as a process. It just takes a bit longer to start SC.
    You know this has been a question of mine ever since SS's MySQL was first installed as a service...

    Over the weekend I installed the SC 7.0 release using the Windows installer, then I ran the service enabler. I decided to let it keep running with the bundled MySQL rather than the other MySQL server that I have running on the machine. This is the first time in quite a while that I've had the EXE version of SS/SC running.

    What I'm seeing is that the bundled MySQL service is being started and stopped whenever the SqueezeCenter service is started and stopped. Is that the expected behavior? If so, the question I then have is what's the advantage of running MySQL as a service like this? MySQL as a service won't start or stop any faster than MySQL run as a user program and it must be started each time SC is started.
    Last edited by JJZolx; 2008-03-12 at 17:48.

  6. #6
    Senior Member AndrewFG's Avatar
    Join Date
    Mar 2008
    Posts
    781
    In answer to your questions:

    1) Yes SqueezeServer is reported as running under Windows | Services. (But whther that means running *successfuly* I can't say...)

    2) I don't want to run SqueezeServer under my full admin account; (sorry guys, but I don't trust you that much). So I created a special account for SqueezeCenter and have given this account access privileges to i) my music folder and ii) my itunes xml and playlist folders.

    3) You ask if this account has permission to install services. I guess probably not. Do I correctly understand that SqueezeServer itself is trying to install another service (e.g. MySql) in addition to itself? If so what do I need to do to allow SqueezeServer to install this service? -- Without giving it full admin rights, and thus destroying the whole point of making a separate account anyway...
    Regards,
    AndrewFG

    Try out Whitebear. The middleware that joins the two worlds of:
    1. UPnP/DLNA media clients and media players, and,
    2. Squeezebox Server and Squeeze Players
    Download it for free here: http://www.whitebear.ch/mediaserver

  7. #7
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,454

    Error: Couldn't install MySQL as a service!

    > 1) Yes SqueezeServer is reported as running under Windows | Services.
    > (But whther that means running *successfuly* I can't say...)


    Can you use SC?

    > 2) I don't want to run SqueezeServer under my full admin account;
    > (sorry guys, but I don't trust you that much). So I created a special
    > account for SqueezeCenter and have given this account access privileges
    > to i) my music folder and ii) my itunes xml and playlist folders.


    Services don't run in an admin mode by default, but under a restricted service user.

    > 3) You ask if this account has permission to install services. I guess
    > probably not. Do I correctly understand that SqueezeServer itself is
    > trying to install another service (e.g. MySql) in addition to itself?


    Correct.

    > If so what do I need to do to allow SqueezeServer to install this
    > service? -- Without giving it full admin rights, and thus destroying
    > the whole point of making a separate account anyway...


    Don't define any account at all. It won't have admin rights. Or just leave it as is. MySQL does not _need_ to be run as a service. If it's running fine without, be happy with it.

    --

    Michael

  8. #8
    Senior Member AndrewFG's Avatar
    Join Date
    Mar 2008
    Posts
    781
    Can you use SC?

    Yes :-)

    Services don't run in an admin mode by default, but under a restricted service user.

    The SC7 SqueezeCenter Startup Options application prompts for an account name and password.
    And it warns that if you don't enter such, then it will run in anonymous mode and may not be able to access my music folders.
    I can confirm that this latter statement is indeed true :-(

    Don't define any account at all. It won't have admin rights.

    But -- see above -- it cannot access the music folder either...
    Regards,
    AndrewFG

    Try out Whitebear. The middleware that joins the two worlds of:
    1. UPnP/DLNA media clients and media players, and,
    2. Squeezebox Server and Squeeze Players
    Download it for free here: http://www.whitebear.ch/mediaserver

  9. #9
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,454

    Error: Couldn't install MySQL as a service!

    > Can you use SC?
    > Yes :-)


    Well, then you're all set and done. Don't bother about MySQL being run as service or not, enjoy your music!

    --

    Michael

  10. #10
    Senior Member AndrewFG's Avatar
    Join Date
    Mar 2008
    Posts
    781
    Quote Originally Posted by Michael Herger View Post
    > Can you use SC?
    > Yes :-)


    Well, then you're all set and done. Don't bother about MySQL being run as service or not, enjoy your music!
    It's easy for you to say that, but nevertheless the software is reporting an error in its log file; and software writers don't do that unless there is something wrong; so IMHO it still needs to be fixed!
    Regards,
    AndrewFG

    Try out Whitebear. The middleware that joins the two worlds of:
    1. UPnP/DLNA media clients and media players, and,
    2. Squeezebox Server and Squeeze Players
    Download it for free here: http://www.whitebear.ch/mediaserver

Posting Permissions

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