Gelembjuk / oursql

OurSQL. Replication of MySQL DBs with Blockchain
GNU General Public License v3.0
52 stars 20 forks source link

Can't connect two second node #3

Closed sebczech closed 5 years ago

sebczech commented 5 years ago

Following the instruction "Run multiple nodes" I tried to create two nodes and access them. The first node can be accessed without any problems through mysql commands. But when I try to open the connection to the second node using "mysql -h 127.0.0.1 -P 9004 -u blockchain -pblockchain BC", I receive the following error: ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (10061)

What can I do? I tried setting it up using Ubuntu and Windows

sebczech commented 5 years ago

2019-08-16 16_10_19-_Ubuntu-OurSQL6_ auf _GER000834_ - Verbindung mit virtuellen Computern This is the log of the container from the second node. The container exits directly after start.

sebczech commented 5 years ago

Solved it. It mustn't be "importfromandstart" for the second node but "importandstart"