cgi 程序数据库用户名密码修改,用于测试
This commit is contained in:
parent
fe2a027eaa
commit
ba83a05138
|
@ -22,7 +22,7 @@ int main() {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (mysql_real_connect(conn, "localhost", "root", "root", "router", 3306,
|
||||
if (mysql_real_connect(conn, "localhost", "flykhan", "1202", "router", 3306,
|
||||
NULL, 0) == NULL) {
|
||||
fprintf(stderr, "mysql_real_connect() failed\n");
|
||||
mysql_close(conn);
|
||||
|
|
|
@ -21,7 +21,7 @@ int main() {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (mysql_real_connect(conn, "localhost", "root", "root", "router", 3306,
|
||||
if (mysql_real_connect(conn, "localhost", "flykhan", "1202", "router", 3306,
|
||||
NULL, 0) == NULL) {
|
||||
fprintf(stderr, "mysql_real_connect() failed\n");
|
||||
mysql_close(conn);
|
||||
|
|
|
@ -25,7 +25,7 @@ int main() {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (mysql_real_connect(conn, "localhost", "root", "root", "router", 3306,
|
||||
if (mysql_real_connect(conn, "localhost", "flykhan", "1202", "router", 3306,
|
||||
NULL, 0) == NULL) {
|
||||
fprintf(stderr, "mysql_real_connect() failed\n");
|
||||
mysql_close(conn);
|
||||
|
|
|
@ -26,7 +26,7 @@ int main() {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (mysql_real_connect(conn, "localhost", "root", "root", "router", 3306,
|
||||
if (mysql_real_connect(conn, "localhost", "flykhan", "1202", "router", 3306,
|
||||
NULL, 0) == NULL) {
|
||||
fprintf(stderr, "mysql_real_connect() failed\n");
|
||||
mysql_close(conn);
|
||||
|
|
Loading…
Reference in New Issue