I'm planning to start a web based project and i'm planning on MySQL as Database back-end. My Server side programming language is C++. I have used unixodbc before. Since i'm starting on a new project, i wanted to check if its good to continue with odbc or should try a different connector. I know that using odbc will offer portability among RDBMS. I really don't care about it, because if i switch, i will switch to cassandra or mongodb.
My Requirements for C++ Connection library:
- Should perform well on large datasets, i expect the MySQL Data to grow much bigger.
- I expect large number of incoming connections, so hope my server will open more MySQL connections.
- Performance is more important.
- Connection Pooling.
- Feature set vs ODBC.
I'm planning only for Linux/Unix environment, preferably CentOS/FreeBSD. Please help me choose a good approach to connect to mysql from c++.