From b89ea4db66ac042428ee2978088bab85a8f64cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Wed, 5 Nov 2025 12:16:37 +0100 Subject: [PATCH] Fix credentials in one conn for 'reg_test_stmt_inv_param_offset-t' Connection requires root credentials for modifying 'max_allowed_packet'. --- test/tap/tests/reg_test_stmt_inv_param_offset-t.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tap/tests/reg_test_stmt_inv_param_offset-t.cpp b/test/tap/tests/reg_test_stmt_inv_param_offset-t.cpp index 95367f7e8..069cb8ce9 100644 --- a/test/tap/tests/reg_test_stmt_inv_param_offset-t.cpp +++ b/test/tap/tests/reg_test_stmt_inv_param_offset-t.cpp @@ -173,7 +173,7 @@ int perform_fake_execute(MYSQL* mysql, const hdr_t& hdr, const vector& dat int prepare_server_defaults(const CommandLine& cl) { MYSQL* proxy = mysql_init(NULL); - if (!mysql_real_connect(proxy, cl.host, cl.username, cl.password, NULL, cl.port, NULL, 0)) { + if (!mysql_real_connect(proxy, cl.host, cl.root_username, cl.root_password, NULL, cl.port, NULL, 0)) { fprintf(stderr, "File %s, line %d, Error: %s\n", __FILE__, __LINE__, mysql_error(proxy)); return EXIT_FAILURE; }