New Video- ADAM-250PN - Full Walkthrough with TIA Portal, Node-RED & MQTT → Watch now
MySQL + PLC · Node-RED

Log your PLC data in a database and put it to work.

Learn MySQL from the basics, store Siemens PLC data through Node-RED, build dashboards and reports, and read and write PLC data with Google Cloud SQL.

59lessons
10sections
2 projectswith real data
Interface MySQL with PLC course

“An exciting course with delightful pieces of information.”

Omar Ali, Software Engineer
What you will learn

Give your machine data a home and a purpose.

From your first query to PLC data in the cloud, with industrial projects along the way.

01

Learn MySQL basics

Understand databases and the basic MySQL commands.

02

Query from Node-RED

Connect Node-RED to MySQL, send queries and build a dashboard from the data.

03

Log PLC data

Read data from a Siemens PLC and store it in a MySQL database.

04

Keep PLC and database in sync

Synchronise data between the PLC and MySQL.

05

Build real applications

Log RFID and 3D camera data, and build a login and logout application with a database.

06

Report and go to the cloud

Generate reports in Node-RED, and read and write PLC data with Google Cloud SQL.

Is this the right course?

Built for engineers who want to do more with their machine data.

Start here if

  • You know the Node-RED basics and want to store PLC data.
  • You want to build reports and dashboards from a database.
  • You want to connect PLC data to the cloud.

Choose another path if

Course content

10 sections. 59 lessons. One clear path.

PHASE 1
17 lessons

MySQL basics

An introduction to databases, basic MySQL commands and database management with Node-RED.

PHASE 2
19 lessons

Logging PLC data

A tank level project logging PLC data into MySQL, and synchronising data between the PLC and MySQL.

PHASE 3
12 lessons

Real-world applications

Logging 3D camera and RFID data, and a login and logout application using a database.

PHASE 4
11 lessons

Reports and cloud

Generating reports in Node-RED, reading and writing PLC data with Google SQL, and the course wrap-up.

Try before you buy

Watch 2 lessons for free.

See how Rajvir teaches, from database basics to your first MySQL dashboard in Node-RED.

Free course resources

Download the files used in the course

Find the MySQL course resources and software links on the Code and Compile Wiki.

Open the wiki
Student stories

Don’t take our word for it.

“I recommend him for eveyone who works on automation !”

Σωτηρης Χαραλαμπιδης
Student

“Rajvir is an exceptional teacher who simplifies complex topics effortlessly. He’s always available in comments or even via TeamViewer to help you understand. Truly dedicated and teaches straight from the heart.”

Mohammad Alharbi
Engineering Student

“I’m a software engineer at NASA Ames, and Rajvir’s videos greatly help me interface PLCs for testing heat shield systems on reentry vehicles, truly contributing to space exploration and innovation.”

Brian Droncheff
Software Engineer, NASA Ames
10+ Years of experience

Your Instructor

Rajvir Singh

Founder
Code and Compile

He is a skilled Automation and IIoT Specialist, dedicated to achieving goals with precision. His passion lies in making learning accessible and enjoyable through the use of cutting-edge educational tools.

Education and Experiences
Masters Mechatronics
Siegen, Germany
Online Teaching
10+ years
International Trainer
3 years
Software Developer
5 years
Recognition
ctrlX Automation
Influencer
2022
LearnWorlds
Influencer
2023
Enroll

Choose how you want to learn.

Take this course on its own, or unlock every Code and Compile course with PRO.

This course

Interface MySQL with PLC

One-time purchase
  • 1 year of access
  • 59 lessons
  • Instructor support
  • Completion certificate
Enroll now
All courses

Code and Compile PRO

From €12/month, paid yearly
  • €19 monthly, €12/month paid yearly, or €249 for 3 years
  • Access to all courses
  • Tech support
  • Completion certificate
View PRO plans
Coming soon

Practice flashcards. Test yourself on automation and IIoT concepts at beginner, medium and advanced levels on cards.codeandcompile.com.

You will be redirected to Code and Compile School for payment.

FAQs

Questions before you start?

Do I need a real PLC?

No. A PLC is optional, and you can practise with PLCSIM. You will use Node-RED, MySQL Server and MySQL Workbench, plus a Google Cloud account for the cloud lessons.

Will I get instructor support?

Yes. Every lesson has a comment section for your questions. If a query cannot be resolved there, Rajvir offers free screen-sharing sessions.

Can I learn on my phone?

Yes. Use the Teachable app on Android or iOS, sign in with your account and save videos for offline access.

Do I get a certificate?

Yes. You receive a unique completion certificate when you finish the course.

What is the refund policy?

You can request a refund within 72 hours of purchase by emailing info@codeandcompile.com.

Start building your PLC database today.

Learn at your own pace, with an instructor who helps you when you get stuck.

Start the course