connect to MySQL: works fine.
mysql_real_connect(conn, server, user, pass, db, 0, NULL, 0);
I want to do something like
char *status = "";
status = mysql_real_connect(conn, server, user, pass, db, 0, NULL, 0);
printf(stauts);
the above attempt results in compile error:
warning: assignment from incompatible pointer type
Solution is needed.