Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ranadeep Biswas
dbcop
Commits
bba4d02e
Commit
bba4d02e
authored
Jun 06, 2018
by
Ranadeep Biswas
Browse files
Updated README
parent
3d17ff16
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
bba4d02e
...
...
@@ -7,22 +7,16 @@
git clone git@gitlab.math.univ-paris-diderot.fr:ranadeep/dbcop.git
```
2.
Compile and install using
`cargo`
and run.
Make sure
`~/.cargo/bin`
is in your system path and MySQL server is running on
`localhost`
at
`3306`
port.
2.
Fire up Galera cluster using
`docker-compose`
.
```
cd dbcop
cargo install
./dbcop -u root -p <root_password>
```
or you can simply do after changing directory,
```
cargo run -- -u root -p <root_password>
cd docker
sudo docker-compose up
```
3.
Slow query log will be available at
`mysql.slow_log`
table.
4.
You can fetch the queries of a particular thread using,
3.
Compile and install using
`cargo`
and run.
Make sure
`~/.cargo/bin`
is in your system path.
```
SELECT * FROM mysql.slow_log WHERE thread_id = ?
cd dbcop
cargo install
dbcop
```
Replace
`?`
with the number corresponding to a thread from
`dbcop`
output.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment