MySQL Forums
Forum List  »  Install & Repo

connect to multiple instances
Posted by: leonado seminara
Date: March 12, 2018 10:27AM

Hello all. I'm trying to run multiple instances of MySQL 5.7.10 as windows 10 services. Everything goes fine (they all start) but I cannot connect to the services. This is what I did:

mkdir c:/mysql1
mkdir c:/mysql1/data

mysqld --initialize --user=root --basedir=c:\mysql1 --datadir=c:\mysql1\data
mysqld --install mysqld1 --defaults-file=C:\mysql1\my.cnf

This is the config file

[mysqld01]
basedir = C:/mysql1
datadir = C:/mysql1/data
port = 3301
enable-named-pipe
socket = mypipe01


The new instance start Ok, but when I try to connect to it (mysql --port=3301 -u root) , I get this error: ERROR 1045 (28000): Unknown error 1045

I'm pretty stuck here, and appreciate any hint on this matter

Regards,

Options: ReplyQuote


Subject
Written By
Posted
connect to multiple instances
March 12, 2018 10:27AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.