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
Copy file name to clipboardExpand all lines: docs/explanation/e-users.md
+13-9Lines changed: 13 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,8 +11,8 @@ There are two types of users in MySQL:
11
11
The operator uses the following internal DB users:
12
12
13
13
*`root` - the [initial/default](https://charmhub.io/mysql/docs/t-manage-passwords) MySQL user. Used for very initial bootstrap only.
14
-
*`clusteradmin` - the user to manage entire MySQL InnoDB ClusterSet.
15
-
*`serverconfig` - the user to manage local MySQL instance.
14
+
*`clusteradmin` - the user to manage replication in the MySQL InnoDB ClusterSet.
15
+
*`serverconfig` - the user that operates MySQL instances.
16
16
*`monitoring` - the user for [COS integration](https://charmhub.io/mysql/docs/h-enable-monitoring).
17
17
*`backups` - the user to [perform/list/restore backups](https://charmhub.io/mysql/docs/h-create-and-list-backups).
18
18
*`mysql_innodb_cluster_#######` - the [internal recovery users](https://dev.mysql.com/doc/mysql-shell/8.0/en/innodb-cluster-user-accounts.html#mysql-innodb-cluster-users-created) which enable connections between the servers in the cluster. Dedicated user created for each Juju unit/InnoDB Cluster member.
@@ -87,16 +87,20 @@ To set a predefined password for the specific user, run:
87
87
<a name="relation-users"></a>
88
88
## Relation/integration users explanations:
89
89
90
-
The operator created a dedicated user for every application related/integrated with database. Those users are removed on the juju relation/integration removal request. However, DB data stays in place and can be reused on re-created relations (using new user credentials):
90
+
The operator created a dedicated user for every application related/integrated with database.
91
+
The username is composed by the relation ID and truncated uuid for the model, to ensure there is no
92
+
username clash in cross model relations. Usernames are limited to 32 chars as per [MySQL limit](https://dev.mysql.com/doc/refman/8.0/en/user-names.html).
93
+
Those users are removed on the juju relation/integration removal request.
94
+
However, DB data stays in place and can be reused on re-created relations (using new user credentials):
91
95
92
96
```shell
93
97
mysql> select Host,User,account_locked from mysql.user where User like 'relation%';
Copy file name to clipboardExpand all lines: docs/reference/r-revision-180-181.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ Dear community,
8
8
Canonical's newest Charmed MySQL K8s operator has been published in the [8.0/stable channel].
9
9
10
10
Due to the newly added support for arm64 architecture, the MySQL K8s charm now releases two revisions simultaneously:
11
-
* Revision 180 is built for `amd64`
12
-
* Revision 181 is built for `arm64`
11
+
* Revision 180 is built for `amd64` ( mysql-image r113 )
12
+
* Revision 181 is built for `arm64` ( mysql-image r113 )
13
13
14
14
TO make sure you deploy for the right architecture, we recommend setting an [architecture constraint](https://juju.is/docs/juju/constraint#heading--arch) for your entire Juju model.
15
15
@@ -60,7 +60,7 @@ This release of Charmed MySQL requires Juju `v.3.4.3` or `3.5.2+`. See the guide
60
60
See the [system requirements] page for more details about software and hardware prerequisites.
61
61
62
62
### Packaging
63
-
This charm is based on the [`charmed-mysql` rock]. It packages:
63
+
This charm is based on the [`charmed-mysql` rock] (CharmHub `mysql-image` resource-revision `113`). It packages:
0 commit comments