Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 926cec4

Browse files
committed
Update to troubleshooting page
1 parent f4fc995 commit 926cec4

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

docs/docs/References/Troubleshooting.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,33 @@ There are 2 sets of logs for the MySQL plugin
2323

2424
- delphix_mysql_debug.log
2525
- delphix_mysql_info.log
26-
- delphix_mysql_error.log
26+
- delphix_mysql_error.log
27+
28+
29+
## Common MySQL Commands
30+
31+
1. Connecting to a MySQL instance
32+
33+
```commandline
34+
delphixos> /usr/bin/mysql -uUserName -pPassword --protocol=TCP --port=1234
35+
```
36+
37+
2. List databases in MySQL
38+
```jql
39+
mysql> show databases;
40+
```
41+
42+
3. Check replication status in MySQL
43+
```jql
44+
mysql> show slave status;
45+
```
46+
47+
4. Check binary logging
48+
```jql
49+
mysql> SHOW VARIABLES LIKE 'log_bin';
50+
```
51+
52+
5. Check user permissions
53+
```jql
54+
mysql> show grants for 'delphixdb'@'%';
55+
```

0 commit comments

Comments
 (0)