You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change auth_query config to be per pool instead of global.
Given that we can connect to different username/databases/servers using
connection pools, it makes sense that `auth_query` should be configured in a
per pool basis.
This change implements that and also leaves the global parameters so pool
configuration can inherit global ones.
Note that now, `auth_query_database` is dropped in favor of the pool configured
database.
Copy file name to clipboardExpand all lines: src/client.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -507,7 +507,7 @@ where
507
507
}
508
508
}
509
509
if password_hash.is_none(){
510
-
warn!("Clien auth is not possible, you either have not set a valid auth_query or a password for {{ username: {:?}, pool_name: {:?}, application_name: {:?} }}", username, pool_name, application_name);
510
+
warn!("Client auth is not possible, you either have not set a valid auth_query or a password for {{ username: {:?}, pool_name: {:?}, application_name: {:?} }}", username, pool_name, application_name);
0 commit comments