Updated dbfwfilter and schemarouter documentation.

This commit is contained in:
Markus Makela
2015-04-02 14:56:58 +03:00
parent bd9fea4b3d
commit 3bc467c83c
2 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,7 @@ The module generates the list of databases based on the servers parameter using
The list of databases is built by sending a SHOW DATABASES query to all the servers. This requires the user to have at least USAGE and SELECT grants on the databases that need be sharded.
If you are connecting directly to a database or have different users on some of the servers, you need the `auth_all_servers=1` parameter to fetch authentication data from all the backend servers. This way MaxScale forms a union of all the users and their grants from all the servers.
If you are connecting directly to a database or have different users on some of the servers, you need to get the authentication data from all the servers. You can control this with the `auth_all_servers` parameter. With this parameter, MaxScale forms a union of all the users and their grants from all the servers. By default, the schemarouter will fetch the authentication data from all servers.
For example, if two servers have the database 'shard' and the following rights are granted only on one server, all queries targeting the database 'shard' would be routed to the server where the grants were given.