PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Logiciels d'hébergement > mailing.database.mysql > Blowing my mind how to setup multiple mysql servers on one windows box..
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Blowing my mind how to setup multiple mysql servers on one windows box..

Réponse
 
LinkBack Outils de la discussion
Vieux 06/06/2006, 17h34   #1
rider0375@gmail.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Blowing my mind how to setup multiple mysql servers on one windows box..

Having some major issues... Racking my brain. Also it is worthy to
note as of 3 weeks ago i have 0 experience with MySQL.

So anyway.. HOW DO YOU DO IT?? hehe - I can get multiple services
installed and started, but everytime i try to make any edits to them
and stop/restart they wont restart. here is my exact .ini file.

===================================

# options for mysql service 1
[testdb1]
port = 3306
datadir= C:/Program Files/MysqlInstance1/Bin/data
innodb_data_home_dir= C:/Program Files/MysqlInstance1/Bin/data
innodb_data_file_path=ibdata1:10M:autoextend
innodb_log_group_home_dir=C:/Program Files/MysqlInstance1/Bin/data
innodb_log_arch_dir=C:/Program Files/MysqlInstance1/Bin/data

# options for mysql service 2
[testdb2]
port = 3308
datadir= C:/Program Files/MysqlInstance2/Bin/data
innodb_data_home_dir=C:/Program Files/MysqlInstance2/Bin/data
innodb_data_file_path=ibdata2:10M:autoextend
innodb_log_group_home_dir=C:/Program Files/MysqlInstance2/Bin/data
innodb_log_arch_dir=C:/Program Files/MysqlInstance2/Bin/data

=======================================
*This is the following command i type in to get the service installed.

C:\Documents and Settings\admin>"C:\program files\mysql\mysql server
5.0\bin\mys
qld-nt" --install testdb1(or2) --defaults-file="C:\my.ini"


One thing that bothers me is this. When i open up the Instance
Manager, and look at both installed serviecs. Under the Configuration
file it says "Section Name: mysqld". I want it to use "testdb1". It
uses mysqld for both services. I can go into Startup variables and
change them but it doesnt seem to affect anything.

Any would be greatly appreciated. Thanks.

  Réponse avec citation
Vieux 08/06/2006, 17h02   #2
mydejamail@yahoo.co.uk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Blowing my mind how to setup multiple mysql servers on one windows box..

I may have forgotten how I did this as I did it a few years ago, but I
believe you have to use different my.ini files, at least I believe it
is the way I did it back then


rider0375@gmail.com wrote:
> Having some major issues... Racking my brain. Also it is worthy to
> note as of 3 weeks ago i have 0 experience with MySQL.
>
> So anyway.. HOW DO YOU DO IT?? hehe - I can get multiple services
> installed and started, but everytime i try to make any edits to them
> and stop/restart they wont restart. here is my exact .ini file.
>
> ===================================
>
> # options for mysql service 1
> [testdb1]
> port = 3306
> datadir= C:/Program Files/MysqlInstance1/Bin/data
> innodb_data_home_dir= C:/Program Files/MysqlInstance1/Bin/data
> innodb_data_file_path=ibdata1:10M:autoextend
> innodb_log_group_home_dir=C:/Program Files/MysqlInstance1/Bin/data
> innodb_log_arch_dir=C:/Program Files/MysqlInstance1/Bin/data
>
> # options for mysql service 2
> [testdb2]
> port = 3308
> datadir= C:/Program Files/MysqlInstance2/Bin/data
> innodb_data_home_dir=C:/Program Files/MysqlInstance2/Bin/data
> innodb_data_file_path=ibdata2:10M:autoextend
> innodb_log_group_home_dir=C:/Program Files/MysqlInstance2/Bin/data
> innodb_log_arch_dir=C:/Program Files/MysqlInstance2/Bin/data
>
> =======================================
> *This is the following command i type in to get the service installed.
>
> C:\Documents and Settings\admin>"C:\program files\mysql\mysql server
> 5.0\bin\mys
> qld-nt" --install testdb1(or2) --defaults-file="C:\my.ini"
>
>
> One thing that bothers me is this. When i open up the Instance
> Manager, and look at both installed serviecs. Under the Configuration
> file it says "Section Name: mysqld". I want it to use "testdb1". It
> uses mysqld for both services. I can go into Startup variables and
> change them but it doesnt seem to affect anything.
>
> Any would be greatly appreciated. Thanks.


  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 07h10.


Édité par : vBulletin® version 3.7.4
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,08516 seconds with 10 queries