• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RTE3 Use real time ethernet as "normal" ethernet interface
#7
Well, for a quick MySQL test to see if it works in principle I did the following now:

1.) I installed a MySQL client on my Windows machine first to be able to test remote servers.
2.) Then I pulled the MySQL image from the well known company hypriot from here https://hub.docker.com/r/hypriot/rpi-mysql/ (it installs an old verion 5.5 but never mind ... I just wanted to test)
3.) Then I started a container of it. There parameters are network mode "host" not to care about port mapping and the ENV variables MYSQL_ROOT_PASSWORD, MYSQL_DATABASE,MYSQL_USER and MYSQL_PASSWORD beeing set

In the Windows client I created a new connection and entered the netPI ip address instead of 127.0.0.1 ... and guess what it connected to my netPI. So there is no principle problem in letting a MySQL server run in a container.

The best of it now is you can analyse the original Dockerfile on Github of this image at https://github.com/hypriot/rpi-mysql/blo...Dockerfile to see what they have done to build this container. If you take over the line into your Dockerfile build lines you will get managed it to run your own MySQL server at a later version also
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
RE: RTE3 Use real time ethernet as "normal" ethernet interface - by Armin@netPI - March-28th-2019, 08:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  activate Ethernet cifx0 Christian_Rau 3 2,527 March-26th-2021, 05:28 AM
Last Post: Armin@netPI
  Web browser reports "insecure connection" when accessing netPI for the first time Armin@netPI 2 2,749 January-31st-2020, 07:07 AM
Last Post: Armin@netPI
  Profinet Startup Time Schranz 3 3,395 November-18th-2019, 03:22 PM
Last Post: Armin@netPI
  normal ethernet port using for Profinet MGharat 4 4,636 August-7th-2019, 10:39 AM
Last Post: hannes
  Launching multi-containers at a time - Docker stacks Armin@netPI 0 1,856 June-4th-2019, 04:11 PM
Last Post: Armin@netPI
  niot-e-npi3-51-en (RS485 <-> Industrial Ethernet) merklethomas 6 4,727 April-26th-2019, 01:38 PM
Last Post: Armin@netPI
  Modbus TCP Connection via RTE Ethernet Ports Flo_Lo 18 11,148 April-15th-2019, 09:50 PM
Last Post: Armin@netPI
  USB/Ethernet adapter slos 4 3,658 April-8th-2019, 09:11 AM
Last Post: slos
  [SOLVED] Use netX interface as profinet controller jromero248 2 3,112 January-10th-2019, 12:30 PM
Last Post: jromero248
  IP Realtime Ethernet michu252 7 4,750 August-21st-2018, 10:41 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 3 Guest(s)