Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions docs/docs/Pre-Requisites/Manual_Ingestion_Mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@ Hence, we require a user with the following permissions on the staging database.

There are 2 ways to achieve this

1. Create this user on your source database so that when the backup is restored, this user is present in the staging db.
1. Create this user on your source database so that when the backup is restored, this user is present in the staging db.
2. Create this user manually in the staging db.
In this case, the customer user must ensure that this user is always present in the staging db
and has the necessary privileges

```jql
mysql>CREATE USER 'delphix_os'@'localhost' IDENTIFIED BY 'delphix_user_passwd';
```
3. Grant the necessary privileges to the user.

```jql
mysql> GRANT SELECT, SHUTDOWN, SUPER, RELOAD ,SHOW VIEW, EVENT, TRIGGER on *.* to 'user'@'staging-host';
```
```jql
mysql> GRANT SELECT, SHUTDOWN, SUPER, RELOAD ,SHOW VIEW, EVENT, TRIGGER on *.* to 'delphix_os'@'localhost';
```

You can also grant more permissive privileges

```jql
Expand Down
29 changes: 20 additions & 9 deletions docs/docs/Pre-Requisites/Replication_Mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,28 @@ Given below are the pre-requisites for MySQL virtualization when using Replicati

#### Source DB User
- A Source DB user who
- Can connect to the source database from staging host.
- Can connect to the source database from staging host as well as locally
```jql
mysql>CREATE USER 'delphix_os'@'<staging_host>' IDENTIFIED BY 'delphix_user_passwd';
```
```jql
mysql>CREATE USER 'delphix_os'@'localhost' IDENTIFIED BY 'delphix_user_passwd';
```

- Has at the minimum, the following permissions on the source database(s).

*SELECT, SHUTDOWN, SUPER, RELOAD ,SHOW VIEW, EVENT, TRIGGER, REPLICATION CLIENT,REPLICATION SLAVE*

mysql>GRANT SELECT, SHUTDOWN, SUPER, RELOAD ,SHOW VIEW, EVENT, TRIGGER, REPLICATION CLIENT,REPLICATION SLAVE on *.* to 'user'@'staging-host';

You can also grant more permissive privileges


*SELECT, SHUTDOWN, SUPER, RELOAD ,SHOW VIEW, EVENT, TRIGGER, REPLICATION CLIENT,REPLICATION SLAVE*
```jql
mysql>GRANT SELECT, SHUTDOWN, SUPER, RELOAD ,SHOW VIEW, EVENT, TRIGGER, REPLICATION CLIENT,REPLICATION SLAVE on *.* to 'delphix_os'@'staging-host';
```
```jql
mysql>GRANT SELECT, SHUTDOWN, SUPER, RELOAD ,SHOW VIEW, EVENT, TRIGGER on *.* to 'delphix_os'@'localhost';
```

You can also grant more permissive privileges
```jql
mysql>GRANT ALL PRIVILEGES ON *.* TO 'user'@'%';

```

!!! note
Remember, this is the user that Delphix uses to manage the Staging database.
Expand Down
2 changes: 2 additions & 0 deletions docs/docs/Release_Notes/MySQL_2.0.26.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ To install dxi, refer to [Plugin Installation](/PluginInstallation/index.html)
- Selecting Databases : Ability to select specific databases in the Source MySQL server when creating a dSource.
- Delphix generated config file : If a my.cnf file is not provided while creating a dSource, Delphix now creates one.
- New Exit Return Codes : MySQL Plugin 2.0.26 introduces more granular exit codes for errors.

###Breaking Changes
- Removed Simple Tablespace Backup: MySQL Plugin does not support the Simple Tablespace Backup option for Linking. This option may be supported in the future.

###Supported versions
Expand Down
File renamed without changes.