PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > Can I use the same mysqld-nt.exe file to start multiple MySQLservices on Windows by specifying different port/database parameters?
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Can I use the same mysqld-nt.exe file to start multiple MySQLservices on Windows by specifying different port/database parameters?

Réponse
 
LinkBack Outils de la discussion
Vieux 28/03/2008, 12h43   #1
Meglio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Can I use the same mysqld-nt.exe file to start multiple MySQLservices on Windows by specifying different port/database parameters?

I'm trying to use the same mysqld-nt.exe file in the same /bin folder
to start multiple MySQL services on Windows.

* I use mysqld-nt.exe --install to install services
* I use different service names
* I use different --defaults-file parameter (where I setup different
port and database location)

When I run one service the second one always terminates itself.

Thanks,
Anton
  Réponse avec citation
Vieux 28/03/2008, 21h40   #2
Kees Nuyt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can I use the same mysqld-nt.exe file to start multiple MySQL services on Windows by specifying different port/database parameters?

On Fri, 28 Mar 2008 04:43:56 -0700 (PDT), Meglio
<x.meglio@gmail.com> wrote:

>I'm trying to use the same mysqld-nt.exe file in the same /bin folder
>to start multiple MySQL services on Windows.
>
>* I use mysqld-nt.exe --install to install services
>* I use different service names
>* I use different --defaults-file parameter (where I setup different
>port and database location)
>
>When I run one service the second one always terminates itself.
>
>Thanks,
>Anton


Look in the error log.
Did you change the socket name and/or port number in
the defaults file?
Sockets and ports can't be shared by different
instances of MySQL.
--
( Kees
)
c[_] I used up all my sick days, so I'm calling in dead. (#420)
  Réponse avec citation
Vieux 28/03/2008, 22h28   #3
Meglio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can I use the same mysqld-nt.exe file to start multiple MySQLservices on Windows by specifying different port/database parameters?

On Mar 28, 10:40 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Fri, 28 Mar 2008 04:43:56 -0700 (PDT), Meglio
>
> <x.meg...@gmail.com> wrote:
> >I'm trying to use the same mysqld-nt.exe file in the same /bin folder
> >to start multiple MySQL services on Windows.

>
> >* I use mysqld-nt.exe --install to install services
> >* I use different service names
> >* I use different --defaults-file parameter (where I setup different
> >port and database location)

>
> >When I run one service the second one always terminates itself.

>
> >Thanks,
> >Anton

>
> Look in the error log.
> Did you change the socket name and/or port number in
> the defaults file?
> Sockets and ports can't be shared by different
> instances of MySQL.
> --
> ( Kees
> )
> c[_] I used up all my sick days, so I'm calling in dead. (#420)


The port and the path to the database are different. What is the
socket?
  Réponse avec citation
Vieux 28/03/2008, 22h30   #4
Meglio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can I use the same mysqld-nt.exe file to start multiple MySQLservices on Windows by specifying different port/database parameters?

On Mar 28, 10:40 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Fri, 28 Mar 2008 04:43:56 -0700 (PDT), Meglio
>
> <x.meg...@gmail.com> wrote:
> >I'm trying to use the same mysqld-nt.exe file in the same /bin folder
> >to start multiple MySQL services on Windows.

>
> >* I use mysqld-nt.exe --install to install services
> >* I use different service names
> >* I use different --defaults-file parameter (where I setup different
> >port and database location)

>
> >When I run one service the second one always terminates itself.

>
> >Thanks,
> >Anton

>
> Look in the error log.
> Did you change the socket name and/or port number in
> the defaults file?
> Sockets and ports can't be shared by different
> instances of MySQL.
> --
> ( Kees
> )
> c[_] I used up all my sick days, so I'm calling in dead. (#420)


I use different port number values and different path to the database
in my .ini files. What are sockets?
  Réponse avec citation
Vieux 29/03/2008, 02h25   #5
Meglio
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can I use the same mysqld-nt.exe file to start multiple MySQLservices on Windows by specifying different port/database parameters?

On Mar 28, 10:40 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
> On Fri, 28 Mar 2008 04:43:56 -0700 (PDT), Meglio
>
> <x.meg...@gmail.com> wrote:
> >I'm trying to use the same mysqld-nt.exe file in the same /bin folder
> >to start multiple MySQL services on Windows.

>
> >* I use mysqld-nt.exe --install to install services
> >* I use different service names
> >* I use different --defaults-file parameter (where I setup different
> >port and database location)

>
> >When I run one service the second one always terminates itself.

>
> >Thanks,
> >Anton

>
> Look in the error log.
> Did you change the socket name and/or port number in
> the defaults file?
> Sockets and ports can't be shared by different
> instances of MySQL.
> --
> ( Kees
> )
> c[_] I used up all my sick days, so I'm calling in dead. (#420)


Thanks, I just found the problem and I'm running the same .exe file as
2 services with different options.
  Réponse avec citation
Vieux 29/03/2008, 03h49   #6
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Can I use the same mysqld-nt.exe file to start multiple MySQLservices on Windows by specifying different port/database parameters?

Meglio wrote:
> On Mar 28, 10:40 pm, Kees Nuyt <k.n...@nospam.demon.nl> wrote:
>> On Fri, 28 Mar 2008 04:43:56 -0700 (PDT), Meglio
>>
>> <x.meg...@gmail.com> wrote:
>>> I'm trying to use the same mysqld-nt.exe file in the same /bin folder
>>> to start multiple MySQL services on Windows.
>>> * I use mysqld-nt.exe --install to install services
>>> * I use different service names
>>> * I use different --defaults-file parameter (where I setup different
>>> port and database location)
>>> When I run one service the second one always terminates itself.
>>> Thanks,
>>> Anton

>> Look in the error log.
>> Did you change the socket name and/or port number in
>> the defaults file?
>> Sockets and ports can't be shared by different
>> instances of MySQL.
>> --
>> ( Kees
>> )
>> c[_] I used up all my sick days, so I'm calling in dead. (#420)

>
> Thanks, I just found the problem and I'm running the same .exe file as
> 2 services with different options.
>


That shouldn't be a problem, as long as you have different config files.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 10h35.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,14638 seconds with 14 queries