Thanks for the great effort on DBSeer!
I have implemented the GUI front-end in my MAC and middleware with MaxScale (dbseerroute plugin) in centos. I use MYSQL 5.6. I have successfully used the GUI to connect the middleware. Then I conduct stress testing using OLTP-Bench replaying TPC-C workload through the port that dbseerroute listens to. I have got the results below, meaning that dbseerroute is collecting the log:
1636890641:::server1:::127.0.0.1:::0::: UPDATE WAREHOUSE SET W_YTD = W_YTD + 3857.9599609375 WHERE W_ID = 1 @@@ SELECT W_STREET_1, W_STREET_2, W_CITY, W_STATE, W_ZIP, W_NAME FROM WAREHOUSE WHERE W_ID = 1@@@ UPDATE DISTRICT SET D_YTD = D_YTD + 3857.9599609375 WHERE D_W_ID = 1 AND D_ID = 8@@@ SELECT D_STREET_1, D_STREET_2, D_CITY, D_STATE, D_ZIP, D_NAME FROM DISTRICT WHERE D_W_ID = 1 AND D_ID = 8@@@ SELECT C_FIRST, C_MIDDLE, C_LAST, C_STREET_1, C_STREET_2, C_CITY, C_STATE, C_ZIP, C_PHONE, C_CREDIT, C_CREDIT_LIM, C_DISCOUNT, C_BALANCE, C_YTD_PAYMENT, C_PAYMENT_CNT, C_SINCE FROM CUSTOMER WHERE C_W_ID = 1 AND C_D_ID = 8 AND C_ID = 704@@@ UPDATE CUSTOMER SET C_BALANCE = -40980.8515625, C_YTD_PAYMENT = 40980.76171875, C_PAYMENT_CNT = 15 WHERE C_W_ID = 1 AND C_D_ID = 8 AND C_ID = 704@@@ INSERT INTO HISTORY (H_C_D_ID, H_C_W_ID, H_C_ID, H_D_ID, H_W_ID, H_DATE, H_AMOUNT, H_DATA) VALUES (8,1,704,8,1,'2021-11-14 19:50:41',3857.9599609375,'oofgcaeqr ajfdvorhe')
However, every time I start the stress testing, I get the error 5 in the GUI with no other hint. I use octave and below is the dbseer.ini. I will appreciate it if you could give me some suggestions with the situations! Thanks for your precious time!
[dbseer]
; set a statistical package for DBSeer. DBSeer currently supports Matlab (R2007b and greater) and Octave (4.0.0 and higher).
; set 'matlab' for MATLAB, 'octave' for Octave. Default is 'matlab'.
stat_package=octave
; specify the type of target database. Currently only support 'mysql'.
database=mysql
; specify the type of target OS. Currently only support 'linux'.
os=linux
; specify the number of transactions required to start clustering.
; this is also the minumum number of transactions that DBSeer requires to create a dataset from monitoring data.
dbscan_init_pts=1000
; section for mysql-related configurations
[mysql]
; set a delimiter for transaction log. Must match the log_delimiter value in performancelogroute in MaxScale. (default: :::)
log_delimiter=:::
; set a query delimiter for transaction log. Must match the query_delimiter value in performancelogroute in MaxScale. (default: @@@)
query_delimiter=@@@
~