+ 1
Yes, you can connect to databases from C++ like MySQL or MSSQL or Oracle. If you want a very light weight database you can consider using sqlite. we have free libraries to interact with sqlite. sqlite stores databases in files and does not need any installation