Im working on some project now and I need to connect to database on VPS. On VPS I installed phpmyadmin, mysql, apache. I need code which connect my C++ console application with this database on VPS. I have no idea how to do it. After connect with database I want to make login script if it changes something.