MySQL/MariaDB Database Connection – C++ Tutorial (Part 48)



MySQL/MariaDB Database Connection – C++ Tutorial (Part 48)

MySQL/MariaDB Database Connection - C++ Tutorial (Part 48)

Time to connect to a database using pure C++, no CodeBlocks, no special IDEs and no Qt needed, just regular C++ and MySQL! This is a remake (of https://youtu.be/cSZvq7Kv6_0), where we go a bit more in depth, and we use more C++ features to do so.

Remember, you need the MySQL or MariaDB development libraries to follow along. If you’re on a non-Arch based Linux distro, then you might have to specifically install a -lib or xxxlib or libxxx to install the libraries… I recommend using Google! If you’re on Windows and Mac, google how to get the development libraries and you should be able to follow along without any issues afterwards!

Source Code: https://github.com/WeebNetsu/YouTube-Projects

Timestamps:
00:00 – Intro
01:30 – Setting up our Database
03:13 – Finding the development files (Linux)
04:22 – Connection Setup
14:53 – Compiling the code
17:10 – Executing SQL

Subscribe for more videos!
YouTube: https://www.youtube.com/stevesteacher?sub_confirmation=1
Odysee: https://odysee.com/$/invite/@stevesteacher:0

For more programming videos, feel free to subscribe to my 2nd channel: https://www.youtube.com/channel/UCZkCdex94Hp-3Aa-42kPhHg

Python Programming Tutorials: https://www.youtube.com/playlist?list=PLYBJzqz8zpWasL5mTe0t9W2cXrv7rnnsG
C++ Programming Tutorials: https://youtube.com/playlist?list=PLYBJzqz8zpWZkX3y8sl8Fbi4mRze4SiPw
Lua Programming Tutorials: https://youtube.com/playlist?list=PLYBJzqz8zpWavt37pA6NANJTGStIHpybU
Become a Web Developer: https://youtube.com/playlist?list=PLYBJzqz8zpWbsmFurxBg2Pm-mlBmJdXbh
HTML Tutorials: https://youtube.com/playlist?list=PLYBJzqz8zpWbQj-bLou8fOYgnDrrbKdAZ
TKinter Tutorials: https://youtube.com/playlist?list=PLYBJzqz8zpWZwVkeu2E5Hjw5ImK7SzMe3
Linux Tutorials/Videos: https://youtube.com/playlist?list=PLYBJzqz8zpWYnUtUeVahkfIeYNKkLRMfZ
Delphi Programming Tutorials: https://www.youtube.com/playlist?list=PLYBJzqz8zpWbKtfi2EiYTv4TeaWcR1I6k
Web Scraping/Beautiful Soup Tutorials: https://youtube.com/playlist?list=PLYBJzqz8zpWYfL1pYs4FG8Ed0Cf3sookG
Love2D Game Dev Tutorials: https://youtube.com/playlist?list=PLYBJzqz8zpWYip5ZkTMQiOkqya9Iiefm9
Godot Game Dev Tutorials: https://youtube.com/playlist?list=PLYBJzqz8zpWZT3jepx1vY1nwhaC-T8wB2
How-to videos: https://www.youtube.com/playlist?list=PLYBJzqz8zpWbp2DxyVGUCqxSZaCwDvU3C
Crash Courses: https://www.youtube.com/playlist?list=PLYBJzqz8zpWbmPw2E0ywUEuhw6FEwVR0U
MySQL Tutorials: https://youtube.com/playlist?list=PLYBJzqz8zpWaBcVuneV9g4zbKsmMCo-rR
Japanese Lessons: https://www.youtube.com/playlist?list=PLYBJzqz8zpWYy-iJ0xckeOjCCE2roN9Ww

Group Chats:
Weeb Chat: https://t.me/weeb_haven
Programmer Haven: https://t.me/programmer_haven

You can contact me on:
Email: [email protected]
Discord: https://discord.gg/NGtD9s6
Kitsu: https://kitsu.io/users/Netsu
Twitter: @stevesteacherYT or click here: https://twitter.com/stevesteacherYT?s=09

Hey there!!! Wanna help support the channel :D? You can donate on PayPal: https://paypal.me/stephenvdw?locale.x=en_US

Any suggestions? Leave it in the comment section or contact me somewhere else!

Odysee Links:
Python Programming Tutorials: https://odysee.com/@stevesteacher:0/Python-Tutorials:5?r=7wEp27kZSg8dDKtQWMJam6CbMAizo9Vt
C++ Programming Tutorials: https://odysee.com/@stevesteacher:0/Cpp-Tutorials:d?r=7wEp27kZSg8dDKtQWMJam6CbMAizo9Vt
HTML Tutorials: https://odysee.com/@stevesteacher:0/HTML-Tutorials:9?r=7wEp27kZSg8dDKtQWMJam6CbMAizo9Vt
Tkinter Tutorials: https://odysee.com/@stevesteacher:0/Tkinter-Tutorials:d?r=7wEp27kZSg8dDKtQWMJam6CbMAizo9Vt
Linux Tutorials: https://odysee.com/@stevesteacher:0/Linux-Terminal-Tutorials:7?r=7wEp27kZSg8dDKtQWMJam6CbMAizo9Vt
Lua Tutorials: https://odysee.com/@stevesteacher:0/Lua-Tutorials:0?r=7wEp27kZSg8dDKtQWMJam6CbMAizo9Vt
Love2D Game Dev Tutorials: https://odysee.com/@stevesteacher:0/Love2D:f
Delphi Tutorials: https://odysee.com/@stevesteacher:0/Delphi-Tutorials:4?r=7wEp27kZSg8dDKtQWMJam6CbMAizo9Vt
MySQL Tutorials: https://odysee.com/@stevesteacher:0/MySQL-Tutorials:c?r=7wEp27kZSg8dDKtQWMJam6CbMAizo9Vt

Thank you for watching!

#stevesteacher #cpp #cplusplus #learncpp #learntocode #sql #mariadb #mysql

Comments are closed.