diff --git a/Documentation/Filters/Comment.md b/Documentation/Filters/Comment.md index b59b89ac4..a991fd5d3 100644 --- a/Documentation/Filters/Comment.md +++ b/Documentation/Filters/Comment.md @@ -18,7 +18,7 @@ type=service router=readwritesplit servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=MyComment ``` @@ -53,7 +53,7 @@ type=service router=readwritesplit servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=IPComment ``` diff --git a/Documentation/Filters/Database-Firewall-Filter.md b/Documentation/Filters/Database-Firewall-Filter.md index b4af5f030..3787fb18c 100644 --- a/Documentation/Filters/Database-Firewall-Filter.md +++ b/Documentation/Filters/Database-Firewall-Filter.md @@ -26,7 +26,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=DatabaseFirewall ``` @@ -72,7 +72,7 @@ type=service servers=server1 router=readconnroute user=maxuser -passwd=maxpwd +password=maxpwd filters=dbfw-whitelist|dbfw-blacklist [dbfw-whitelist] diff --git a/Documentation/Filters/Named-Server-Filter.md b/Documentation/Filters/Named-Server-Filter.md index ac5213042..458b1bc1c 100644 --- a/Documentation/Filters/Named-Server-Filter.md +++ b/Documentation/Filters/Named-Server-Filter.md @@ -44,7 +44,7 @@ type=service router=readwritesplit servers=server1,server2,server3 user=myuser -passwd=mypasswd +password=mypasswd filters=NamedServerFilter ``` @@ -172,6 +172,6 @@ type=service router=readwritesplit servers=server1,server2 user=myuser -passwd=mypasswd +password=mypasswd filters=NamedServerFilter ``` diff --git a/Documentation/Filters/Query-Log-All-Filter.md b/Documentation/Filters/Query-Log-All-Filter.md index ee6b80702..ba1dc40b9 100644 --- a/Documentation/Filters/Query-Log-All-Filter.md +++ b/Documentation/Filters/Query-Log-All-Filter.md @@ -19,7 +19,7 @@ type=service router=readconnroute servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=MyLogFilter ``` @@ -189,7 +189,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=ProductsSelectLogger ``` diff --git a/Documentation/Filters/RabbitMQ-Filter.md b/Documentation/Filters/RabbitMQ-Filter.md index 3fd5e7ee9..26436b21d 100644 --- a/Documentation/Filters/RabbitMQ-Filter.md +++ b/Documentation/Filters/RabbitMQ-Filter.md @@ -44,7 +44,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=RabbitMQ ``` diff --git a/Documentation/Filters/Regex-Filter.md b/Documentation/Filters/Regex-Filter.md index 37542a0e4..944932ff0 100644 --- a/Documentation/Filters/Regex-Filter.md +++ b/Documentation/Filters/Regex-Filter.md @@ -24,7 +24,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=MyRegexfilter ``` @@ -110,6 +110,6 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=CreateTableFilter ``` diff --git a/Documentation/Filters/Tee-Filter.md b/Documentation/Filters/Tee-Filter.md index b4de2238d..afcf1a368 100644 --- a/Documentation/Filters/Tee-Filter.md +++ b/Documentation/Filters/Tee-Filter.md @@ -27,7 +27,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=DataMartFilter ``` @@ -138,7 +138,7 @@ type=service router=readconnroute servers=server1, server2, server3, server4 user=massi -passwd=6628C50E07CCE1F0392EDEEB9D1203F3 +password=6628C50E07CCE1F0392EDEEB9D1203F3 filters=ReplicateOrders [ReplicateOrders] @@ -152,7 +152,7 @@ type=service router=readconnroute servers=datamartserver user=massi -passwd=6628C50E07CCE1F0392EDEEB9D1203F3 +password=6628C50E07CCE1F0392EDEEB9D1203F3 filters=QLA_DataMart [QLA_DataMart] diff --git a/Documentation/Filters/Top-N-Filter.md b/Documentation/Filters/Top-N-Filter.md index 45f1e2dcf..8de0bcd5d 100644 --- a/Documentation/Filters/Top-N-Filter.md +++ b/Documentation/Filters/Top-N-Filter.md @@ -18,7 +18,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=MyLogFilter ``` @@ -153,7 +153,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=SlowAppServer | ControlAppServer ``` diff --git a/Documentation/Filters/Transaction-Performance-Monitoring-Filter.md b/Documentation/Filters/Transaction-Performance-Monitoring-Filter.md index 87d5d1550..61fb3ca0d 100644 --- a/Documentation/Filters/Transaction-Performance-Monitoring-Filter.md +++ b/Documentation/Filters/Transaction-Performance-Monitoring-Filter.md @@ -24,7 +24,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=MyLogFilter ``` @@ -133,7 +133,7 @@ type=service router=readconnrouter servers=server1 user=myuser -passwd=mypasswd +password=mypasswd filters=PerformanceLogger ``` diff --git a/Documentation/Getting-Started/Configuration-Guide.md b/Documentation/Getting-Started/Configuration-Guide.md index b60fe1a3f..e148f576d 100644 --- a/Documentation/Getting-Started/Configuration-Guide.md +++ b/Documentation/Getting-Started/Configuration-Guide.md @@ -946,14 +946,14 @@ servers=server1,server2,server3 #### `user` -The user parameter, along with the passwd parameter are used to define the +The user parameter, along with the password parameter are used to define the credentials used to connect to the backend servers to extract the list of database users from the backend database that is used for the client authentication. ``` user=maxscale -passwd=Mhu87p2D +password=Mhu87p2D ``` Authentication of incoming connections is performed by MariaDB MaxScale itself @@ -1002,7 +1002,6 @@ GRANT SELECT ON mysql.* TO 'maxscale'@'maxscalehost'; See [MaxScale Troubleshooting](https://mariadb.com/kb/en/mariadb-enterprise/maxscale-troubleshooting/) for more information on how to troubleshoot authentication related problems. - #### `password` The password parameter provides the password information for the above user and @@ -1016,6 +1015,10 @@ statements to load database names and grants from the backends: * `SELECT * FROM INFORMATION_SCHEMA.SCHEMATA` * `SELECT GRANTEE,PRIVILEGE_TYPE FROM INFORMATION_SCHEMA.USER_PRIVILEGES` +**Note:** In older versions of MaxScale this parameter was called `passwd`. The + parameter was deprecated in MaxScale 2.2 and support for it was dropped in + 2.3.0. + #### `enable_root_user` This parameter controls the ability of the root user to connect to MariaDB @@ -1274,14 +1277,14 @@ monitoruser=mymonitoruser #### `monitorpw` The monitor has a username and password that is used to connect to all servers -for monitoring purposes, this may be overridden by supplying a monpasswd -statement for the individual servers. +for monitoring purposes, this may be overridden by supplying a `monitorpw` +for the individual servers. ``` monitorpw=mymonitorpasswd ``` -The monpasswd parameter may be either a plain text password or it may be an +The `monitorpw` parameter may be either a plain text password or it may be an encrypted password. See the section on encrypting passwords for use in the maxscale.cnf file. @@ -1801,7 +1804,7 @@ signal to the MariaDB MaxScale process or execute `reload config` in the The following list of service parameters can be updated at runtime. * user -* passwd +* password * enable_root_user * max_connections * connection_timeout diff --git a/Documentation/Monitors/Aurora-Monitor.md b/Documentation/Monitors/Aurora-Monitor.md index 9b7669fd3..81a30f087 100644 --- a/Documentation/Monitors/Aurora-Monitor.md +++ b/Documentation/Monitors/Aurora-Monitor.md @@ -50,7 +50,7 @@ type=monitor module=auroramon servers=cluster-1,cluster-2,cluster-3 user=aurora -passwd=borealis +password=borealis monitor_interval=2500 ``` diff --git a/Documentation/Monitors/Galera-Monitor.md b/Documentation/Monitors/Galera-Monitor.md index c333d6db1..4ee248cc6 100644 --- a/Documentation/Monitors/Galera-Monitor.md +++ b/Documentation/Monitors/Galera-Monitor.md @@ -18,7 +18,7 @@ type=monitor module=galeramon servers=server1,server2,server3 user=myuser -passwd=mypwd +password=mypwd ``` diff --git a/Documentation/Monitors/MM-Monitor.md b/Documentation/Monitors/MM-Monitor.md index 556d54fd9..d7fa38cd8 100644 --- a/Documentation/Monitors/MM-Monitor.md +++ b/Documentation/Monitors/MM-Monitor.md @@ -20,7 +20,7 @@ type=monitor module=mmmon servers=server1,server2,server3 user=myuser -passwd=mypwd +password=mypwd ``` diff --git a/Documentation/Monitors/MariaDB-Monitor.md b/Documentation/Monitors/MariaDB-Monitor.md index 3c0d2d8da..803c9e70a 100644 --- a/Documentation/Monitors/MariaDB-Monitor.md +++ b/Documentation/Monitors/MariaDB-Monitor.md @@ -72,7 +72,7 @@ type=monitor module=mariadbmon servers=server1,server2,server3 user=myuser -passwd=mypwd +password=mypwd ``` From MaxScale 2.2.1 onwards, the module name is `mariadbmon` instead of diff --git a/Documentation/Monitors/NDB-Cluster-Monitor.md b/Documentation/Monitors/NDB-Cluster-Monitor.md index dc382764a..877988f3b 100644 --- a/Documentation/Monitors/NDB-Cluster-Monitor.md +++ b/Documentation/Monitors/NDB-Cluster-Monitor.md @@ -16,7 +16,7 @@ type=monitor module=ndbclustermon servers=server1,server2,server3 user=myuser -passwd=mypwd +password=mypwd ``` diff --git a/Documentation/Routers/Avrorouter.md b/Documentation/Routers/Avrorouter.md index 5b8d2448c..e8b4fa0e3 100644 --- a/Documentation/Routers/Avrorouter.md +++ b/Documentation/Routers/Avrorouter.md @@ -49,7 +49,7 @@ type=service router=binlogrouter router_options=server-id=4000,binlogdir=/var/lib/mysql,filestem=binlog user=maxuser -passwd=maxpwd +password=maxpwd [avro-router] type=service @@ -90,7 +90,7 @@ type=service router=binlogrouter router_options=server-id=4000,binlogdir=/var/lib/mysql,filestem=binlog user=maxuser -passwd=maxpwd +password=maxpwd [avro-router] type=service diff --git a/Documentation/Routers/Binlogrouter.md b/Documentation/Routers/Binlogrouter.md index 38914ddcb..0c793dd84 100644 --- a/Documentation/Routers/Binlogrouter.md +++ b/Documentation/Routers/Binlogrouter.md @@ -366,7 +366,7 @@ follows. type=service router=binlogrouter user=maxscale -passwd=maxpwd +password=maxpwd server_id=3 binlogdir=/var/lib/maxscale/ mariadb10-compatibility=1 diff --git a/Documentation/Tutorials/Avrorouter-Tutorial.md b/Documentation/Tutorials/Avrorouter-Tutorial.md index 7b3b7c54a..322b9f321 100644 --- a/Documentation/Tutorials/Avrorouter-Tutorial.md +++ b/Documentation/Tutorials/Avrorouter-Tutorial.md @@ -44,7 +44,7 @@ server_id=4000 master_id=3000 filestem=binlog user=maxuser -passwd=maxpwd +password=maxpwd # The Avro conversion service [avro-service] diff --git a/Documentation/Tutorials/Filter-Tutorial.md b/Documentation/Tutorials/Filter-Tutorial.md index 8b7fe7030..18c580c1e 100644 --- a/Documentation/Tutorials/Filter-Tutorial.md +++ b/Documentation/Tutorials/Filter-Tutorial.md @@ -51,7 +51,7 @@ type=service router=readwritesplit servers=dbserver1,dbserver2,dbserver3,dbserver4 user=massi -passwd=6628C50E07CCE1F0392EDEEB9D1203F3 +password=6628C50E07CCE1F0392EDEEB9D1203F3 filters=hints | top10 ``` The names used in the filters= parameter are the names of the filter definition sections in the ini file. The same filter definition can be used in multiple services and the same filter module can have multiple instances, each with its own section in the ini file. @@ -128,7 +128,7 @@ type=service router=readwritesplit servers=dbbubble1,dbbubble2,dbbubble3,dbbubble4,dbbubble5 user=maxscale -passwd=6628C50E07CCE1F0392EDEEB9D1203F3 +password=6628C50E07CCE1F0392EDEEB9D1203F3 ``` The table you wish to store in Cassandra in called HighScore and will contain the same columns in both the MariaDB table and the Cassandra table. The first step is to install a MariaDB instance with the Cassandra storage engine to act as a bridge server between the relational database and Cassandra. In this bridge server add a table definition for the HighScore table with the engine type set to Cassandra. See [Cassandra Storage Engine Overview]( https://mariadb.com/kb/en/mariadb/cassandra-storage-engine-overview/) for details. @@ -146,7 +146,7 @@ router=readconnrouter router_options=running servers=CassandraDB user=maxscale -passwd=6628C50E07CCE1F0392EDEEB9D1203F3 +password=6628C50E07CCE1F0392EDEEB9D1203F3 ``` Next add a filter definition for the tee filter that will duplication insert statements that are destined for the HighScore table to this new service. ``` @@ -165,6 +165,6 @@ type=service router=readwritesplit servers=dbbubble1,dbbubble2,dbbubble3,dbbubble4,dbbubble5 user=maxscale -passwd=6628C50E07CCE1F0392EDEEB9D1203F3 +password=6628C50E07CCE1F0392EDEEB9D1203F3 filters=HighScores ``` diff --git a/Documentation/Tutorials/MaxScale-Information-Schema.md b/Documentation/Tutorials/MaxScale-Information-Schema.md index ccee2e27f..51c70bf0a 100644 --- a/Documentation/Tutorials/MaxScale-Information-Schema.md +++ b/Documentation/Tutorials/MaxScale-Information-Schema.md @@ -31,7 +31,7 @@ to localhost as well. type=service router=maxinfo user=monitor -passwd=my_secret +password=my_secret ``` The listener section defines the protocol, port and other information needed diff --git a/Documentation/Tutorials/MySQL-Cluster-Setup.md b/Documentation/Tutorials/MySQL-Cluster-Setup.md index 207f89933..53828f49b 100644 --- a/Documentation/Tutorials/MySQL-Cluster-Setup.md +++ b/Documentation/Tutorials/MySQL-Cluster-Setup.md @@ -223,7 +223,7 @@ router=readconnroute router_options=ndb servers=server1,server2 user=test -passwd=test +password=test version_string=5.5.37-CLUSTER [Cluster Listener] @@ -237,7 +237,7 @@ type=monitor module=ndbclustermon servers=server1,server2 user=monitor -passwd=monitor +password=monitor monitor_interval=8000 [server1] diff --git a/Documentation/Tutorials/RabbitMQ-And-Tee-Archiving.md b/Documentation/Tutorials/RabbitMQ-And-Tee-Archiving.md index bee53948b..9737a0c86 100644 --- a/Documentation/Tutorials/RabbitMQ-And-Tee-Archiving.md +++ b/Documentation/Tutorials/RabbitMQ-And-Tee-Archiving.md @@ -99,7 +99,7 @@ type=monitor module=mariadbmon servers=production-1, archive-1 user=maxuser -passwd=maxpwd +password=maxpwd monitor_interval=5000 ``` @@ -120,7 +120,7 @@ type=service router=readconnroute servers=production-1 user=maxuser -passwd=maxpwd +password=maxpwd filters=Tee [Archive] @@ -128,7 +128,7 @@ type=service router=readconnroute servers=archive-1 user=maxuser -passwd=maxpwd +password=maxpwd filters=MQ Filter ``` @@ -238,7 +238,7 @@ type=monitor module=mariadbmon servers=production-1, archive-1 user=maxuser -passwd=maxpwd +password=maxpwd monitor_interval=5000 # Production service @@ -247,7 +247,7 @@ type=service router=readconnroute servers=production-1 user=maxuser -passwd=maxpwd +password=maxpwd filters=Tee # Archive service @@ -256,7 +256,7 @@ type=service router=readconnroute servers=archive-1 user=maxuser -passwd=maxpwd +password=maxpwd filters=MQ Filter # Listeners for the services diff --git a/Documentation/Tutorials/RabbitMQ-Setup-And-MaxScale-Integration.md b/Documentation/Tutorials/RabbitMQ-Setup-And-MaxScale-Integration.md index 0cf502fbc..6b520bfda 100644 --- a/Documentation/Tutorials/RabbitMQ-Setup-And-MaxScale-Integration.md +++ b/Documentation/Tutorials/RabbitMQ-Setup-And-MaxScale-Integration.md @@ -183,7 +183,7 @@ router=readconnroute router_options=slave servers=server1,server2,server3,server5,server4 user=massi -passwd=massi +password=massi filters=MQ [MQ] diff --git a/Documentation/Tutorials/Replication-Proxy-Binlog-Router-Tutorial.md b/Documentation/Tutorials/Replication-Proxy-Binlog-Router-Tutorial.md index f81c295c6..bdd071ff0 100644 --- a/Documentation/Tutorials/Replication-Proxy-Binlog-Router-Tutorial.md +++ b/Documentation/Tutorials/Replication-Proxy-Binlog-Router-Tutorial.md @@ -141,7 +141,7 @@ with MariaDB 10 would be as follows. type=service router=binlogrouter user=maxscale -passwd=maxpwd +password=maxpwd server_id=1 mariadb10-compatibility=1 binlogdir=/var/lib/maxscale/ diff --git a/Documentation/Tutorials/Simple-Sharding-Tutorial.md b/Documentation/Tutorials/Simple-Sharding-Tutorial.md index 1a4ec4211..70de94807 100644 --- a/Documentation/Tutorials/Simple-Sharding-Tutorial.md +++ b/Documentation/Tutorials/Simple-Sharding-Tutorial.md @@ -49,7 +49,7 @@ type=service router=schemarouter servers=accounts_west,accounts_east user=sharduser -passwd=YqztlYGDvZ8tVMe3GUm9XCwQi +password=YqztlYGDvZ8tVMe3GUm9XCwQi ``` After this we configure a listener for the service. The listener is the actual port the user connects to. We will use the port 4000. @@ -70,7 +70,7 @@ type=monitor module=mariadbmon servers=accounts_west,accounts_east user=monitoruser -passwd=7SP1Zcsow8TG+9EkEBVEbaKa +password=7SP1Zcsow8TG+9EkEBVEbaKa monitor_interval=1000 ```