sqlapi++

Unable to connect to MYSQL using SQLAPI++

夙愿已清 提交于 2020-01-17 07:24:05
问题 I am new to working on SQLAPI++. I have everything installed, i.e. MYSQL, SQLAPI++ and I am using Code:Block++ as the editor for my C++ program. I was trying to connect to the database that I had created in the MYSQL, but I am unable to. I see the following error when I invoke Connect() written in SQLAPI++ Process returned -1-73741819(0xC0000005) execution time: 0.431s. The MYSQL is running on my local machine on port no 3306. int main(int argc, char* argv[]) { SAConnection con; SACommand cmd