-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
./dw-query-digest-amd64 -debug /data/database/db-slow.log
INFO[0000] using "/data/database/db-slow.log" as input file
INFO[0000] using "terminal" output
ERRO[0000] cachefile /data/database/db-slow.log not found: stat /data/database/db-slow.log.cache: no such file or directory
INFO[0000] file has 5933 lines
ERRO[0000] error reading log header: unable to parse server information; beginning of log might be missing
DEBU[0000] line (7) will fold after SELECT
DEBU[0000] line (8) will fold after
DEBU[0000] line (9) will fold after
DEBU[0000] line (10) will fold after
DEBU[0000] line (11) will fold after
DEBU[0000] line (12) will fold after
DEBU[0000] worker exiting
panic: runtime error: index out of range
goroutine 6 [running]:
main.fileReader(0xc000019cf0, 0x5aa9a0, 0xc00000e0a0, 0xc0000569c0, 0x172d)
/home/leucos/dev/perso/projects/dw-query-digest/main.go:456 +0xaa0
created by main.main
/home/leucos/dev/perso/projects/dw-query-digest/main.go:303 +0xafa
[root@db ~]# head -n15 /data/database/db-slow.log
/usr/libexec/mysqld, Version: 5.5.60-MariaDB (MariaDB Server). started with:
Tcp port: 3306 Unix socket: /var/lib/mysql/mysql.sock
Time Id Command Argument
# Time: 190603 23:14:02
# User@Host: user[user] @ [172.22.0.10]
# Thread_id: 3 Schema: thedb QC_hit: No
# Query_time: 0.167214 Lock_time: 0.166911 Rows_sent: 1 Rows_examined: 69
use thedb;
SET timestamp=1559618042;
SELECT
id, password
FROM
Users
WHERE
username = 'olntwrdorwvtor'
AND user_type != '14';
# User@Host: user[user] @ [172.22.0.10]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels