C++ to MySQL connection - Code Blocks

preview_player
Показать описание
In this video i will show you how to connect your C++ code to MySQL database using code blocks.

#programming #cpp #mysql
Рекомендации по теме
Комментарии
Автор

oh my God bro thank you so much I really needed this because I had a C++ project in CodeBlocks and I needed to connect to MySQL but it was just too hard until I found your awesome video! thanks man I really appreciate your hard work on these videos. I liked and subscribed!

am
Автор

Great Video,
It helps me to start working with database using C++ (My favourite language).

cseajaykumarmaurya
Автор

Hello everyone,
Solution for those who have encountered the following errors:
undefined reference to mysql_init
undefined reference to mysql_real_connect
undefined reference to mysql_query


These errors occur because the libmysql.dll library is not complete. The one found on the drive weighs 2 MB when it should be 7 MB.
Below, I provide the name of a channel and a video that provides a Google Drive link where you can find the complete library.


Sovanvichea YANN - How to connect MYSQL to

kostasmanolas
Автор

By far the best tutorial I’ve found very easy to follow and understand thank you

sikhjourney
Автор

You're amazing man!!! I really learned something new. Thanks!!!

binarysaiyan
Автор

i am getting error of sql access through the xamp how can i solve that?

shatakshisaini
Автор

I want to make a website to the same work, take queries from user and show them the result. How can you do that using C++ or javascript

ArunKumar-ryjf
Автор

Fast, but excellent detail, thanks bro!

forcozying
Автор

Sir I had made a project using c++ now I want to save that data to my SQL how to connect using sql

world
Автор

Thanks a lot, your video is very helpful for me

gamingowyjohnny
Автор

If error such as undefined reference in codeblocks maybe you installed 32bit sql library and you work with 64 bit compilor so it is not logical,
for me i changed to 32 bit compilor mingw for codeblocks ans it works fine.

abdrazaqM.K
Автор

Getting error of these two DLLs, despite following the same procedure/settings:
libssl-1_1-x64.dll
libcrypto-1_1-x64.dll

tqaquotes
Автор

I have an error in the mysql.h file stating that "SOCKET was not declared in this scope " on line 50

foot
Автор

I get this error after i place the libmysql.dll in the debug file "The procedure entry point ssl_ctx_set_ciphersuites could not be located in the dynamic link library libmysql.dll"

GamingBoosieGB
Автор

Thanks a lot buddy! It really helped me.

janmejayshastri
Автор

The code is running with no error but it is showing not connected, the username and password i gave are correct for localhost but still getting not connected. Please help me for solving this bug

akshaysatpute
Автор

my code blocks is saying bad_message = EBADMSG, at line 53 when I run

jameskariukiwaweru
Автор

I really liked your video it really helped me. Can u tell me that can we install that header file in the codeblock files by just giving a new path in the linker

anshulsharma
Автор

i got the error in XAMPP for MySQL shutdown unexpectedly

Blaze_-isyb
Автор

Great tutorial! The only thing I could not get to work is stored procedure. How can I call them? I tried to replace a select statement (inside mysql_query) with "call mystoredprocedure()" but I get a "mystoredprocedure can't return a result set in the given context" even if it work well on phpmyadmin.

ttmylink