mysql_real_query(&mysql,query,strlen(query))) { printf("Insert successed!");printf("Whether to print the last SQL:(y/n)");scanf("%c",&yn);if(yn='y') { printf("%s",query);mysql_close(&...
C-client API instead of using PASSWORD()SQL function in the query.MySQL PASSWORD()加密的 3(or"md5")=Use plain hex MD5. 4(or"sha1")=Use plain hex SHA 注意:由于mysql的安装方式不同,pam_mysql.so基于unix...