Skip to content

Commit

Permalink
Fixed admin_host
Browse files Browse the repository at this point in the history
  • Loading branch information
rahim-kanji committed Oct 29, 2024
1 parent 4d07b17 commit 67e45ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ int main(int argc, char** argv) {
BAIL_OUT("MySQL admin init failed.");
}

if (!mysql_real_connect(proxysql_admin, cl.host, cl.admin_username, cl.admin_password, nullptr, cl.admin_port, nullptr, 0)) {
if (!mysql_real_connect(proxysql_admin, cl.admin_host, cl.admin_username, cl.admin_password, nullptr, cl.admin_port, nullptr, 0)) {
BAIL_OUT("Failed to connect to ProxySQL Admin: %s", mysql_error(proxysql_admin));
}

Expand Down

0 comments on commit 67e45ec

Please sign in to comment.