Adding specific MariaDB sysschema installer
This commit is contained in:
parent
6cc7ff252a
commit
d9ccab2bf7
1 changed files with 16 additions and 0 deletions
16
README.md
16
README.md
|
@ -141,6 +141,9 @@ Sysschema is installed by default under MySQL 5.7 and MySQL 8 from Oracle.
|
||||||
By default, on MySQL 5.6/5.7/8, performance schema is enabled by default.
|
By default, on MySQL 5.6/5.7/8, performance schema is enabled by default.
|
||||||
For previous MySQL 5.6 version, you can follow this command to create a new database sys containing very useful view on Performance schema:
|
For previous MySQL 5.6 version, you can follow this command to create a new database sys containing very useful view on Performance schema:
|
||||||
|
|
||||||
|
Sysschema for MySQL old version
|
||||||
|
--
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
|
curl "https://codeload.github.com/mysql/mysql-sys/zip/master" > sysschema.zip
|
||||||
# check zip file
|
# check zip file
|
||||||
|
@ -150,6 +153,19 @@ cd mysql-sys-master
|
||||||
mysql -uroot -p < sys_56.sql
|
mysql -uroot -p < sys_56.sql
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Sysschema for MariaDB old version
|
||||||
|
--
|
||||||
|
|
||||||
|
```bash
|
||||||
|
curl "https://github.com/FromDual/mariadb-sys/archive/refs/heads/master.zip" > sysschema.zip
|
||||||
|
# check zip file
|
||||||
|
unzip -l sysschema.zip
|
||||||
|
unzip sysschema.zip
|
||||||
|
cd mariadb-sys-master
|
||||||
|
mysql -u root -p < ./sys_10.sql
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Performance schema setup
|
Performance schema setup
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue