diff --git a/www/cgi-bin/c_mysql_ip_fw_add_del.c b/www/cgi-bin/c_mysql_ip_fw_add_del.c index 7992f55..a4a2b8e 100644 --- a/www/cgi-bin/c_mysql_ip_fw_add_del.c +++ b/www/cgi-bin/c_mysql_ip_fw_add_del.c @@ -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); diff --git a/www/cgi-bin/c_mysql_ip_fw_view.c b/www/cgi-bin/c_mysql_ip_fw_view.c index 9c2fd14..d435b78 100644 --- a/www/cgi-bin/c_mysql_ip_fw_view.c +++ b/www/cgi-bin/c_mysql_ip_fw_view.c @@ -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); diff --git a/www/cgi-bin/c_mysql_ip_mac.c b/www/cgi-bin/c_mysql_ip_mac.c index e4e6bfc..f55ca75 100644 --- a/www/cgi-bin/c_mysql_ip_mac.c +++ b/www/cgi-bin/c_mysql_ip_mac.c @@ -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); diff --git a/www/cgi-bin/c_mysql_user_pwd.c b/www/cgi-bin/c_mysql_user_pwd.c index e835b00..c7f385e 100644 --- a/www/cgi-bin/c_mysql_user_pwd.c +++ b/www/cgi-bin/c_mysql_user_pwd.c @@ -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);