Skip to content

Instantly share code, notes, and snippets.

2018-04-17T08:35:32.623550Z 0 [Note] Plugin group_replication reported: 'new state x_run'
2018-04-17T08:35:32.623562Z 0 [Note] Plugin group_replication reported: 'getstart group_id c9cffc05'
2018-04-17T08:35:33.624408Z 20 [Note] Plugin group_replication reported: 'Only one server alive. Declaring this server as online within the replication group'
2018-04-17T08:35:33.624440Z 0 [Note] Plugin group_replication reported: 'Group membership changed to erik-nginx-mysql-0:3306 on view 15239541336238415:1.'
2018-04-17T08:35:33.650605Z 0 [Note] Plugin group_replication reported: 'This server was declared online within the replication group'
2018-04-17T08:35:34.749236Z 10 [Note] Aborted connection 10 to db: 'mysql_innodb_cluster_metadata' user: 'root' host: '10.42.69.111' (Got an error reading communication packets)
2018-04-17T08:35:34.802965Z 25 [Note] Aborted connection 25 to db: 'unconnected' user: 'root' host: '10.42.69.111' (Got an error reading communication packets)
2018-04-17T08:35:34.935254Z 28 [Note] Aborted
I0417 08:34:45.186472 1 main.go:48] FLAG: --stderrthreshold="2"
I0417 08:34:45.186480 1 main.go:48] FLAG: --v="4"
I0417 08:34:45.186488 1 main.go:48] FLAG: --vmodule=""
I0417 08:34:45.201930 1 cluster_manager.go:105] Database not yet running. Waiting...
I0417 08:34:55.210280 1 cluster_manager.go:105] Database not yet running. Waiting...
I0417 08:35:05.219207 1 cluster_manager.go:105] Database not yet running. Waiting...
I0417 08:35:15.226804 1 cluster_manager.go:105] Database not yet running. Waiting...
I0417 08:35:27.062394 1 innodb_cluster.go:121] Clearing the MySQL binary logs
I0417 08:35:27.638427 1 cluster_manager.go:280] Creating the cluster on the primary instance
I0417 08:35:34.803654 1 cluster_manager.go:285] {
Starting mysql-agent version e1fdcb262bbec962193c2c10a1108d64b3de78bf
I0417 08:35:50.289646 1 main.go:48] FLAG: --address="0.0.0.0"
I0417 08:35:50.289726 1 main.go:48] FLAG: --alsologtostderr="false"
I0417 08:35:50.289739 1 main.go:48] FLAG: --healthcheck-port="10512"
I0417 08:35:50.289750 1 main.go:48] FLAG: --hostname="erik-nginx-mysql-1"
I0417 08:35:50.289759 1 main.go:48] FLAG: --log-backtrace-at=":0"
I0417 08:35:50.289770 1 main.go:48] FLAG: --log-dir=""
I0417 08:35:50.289779 1 main.go:48] FLAG: --log-flush-frequency="5s"
I0417 08:35:50.289790 1 main.go:48] FLAG: --logtostderr="true"
I0417 08:35:50.289798 1 main.go:48] FLAG: --min-resync-period="12h0m0s"
[Entrypoint] Starting MySQL 5.7.20-1.1.2
2018-04-17T08:36:21.205522Z 0 [Note] mysqld (mysqld 5.7.20-log) starting as process 1 ...
2018-04-17T08:36:21.208642Z 0 [Warning] No argument was provided to --log-bin, and --log-bin-index was not used; so replication may break when this MySQL server acts as a master and has his hostname changed!! Please use '--log-bin=erik-nginx-mysql-1-bin' to avoid this problem.
2018-04-17T08:36:21.225541Z 0 [Note] InnoDB: PUNCH HOLE support available
2018-04-17T08:36:21.225569Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2018-04-17T08:36:21.225575Z 0 [Note] InnoDB: Uses event mutexes
2018-04-17T08:36:21.225586Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2018-04-17T08:36:21.225592Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2018-04-17T08:36:21.225597Z 0 [Note] InnoDB: Using Linux native AIO
2018-04-17T08:36:21.225628Z 0 [Note] InnoDB: Adjusting innodb_buffer_pool_instances from 4 to 1 since innodb_buffer_pool_size is less
I0417 08:34:45.186361 1 main.go:48] FLAG: --alsologtostderr="false"
I0417 08:34:45.186386 1 main.go:48] FLAG: --healthcheck-port="10512"
I0417 08:34:45.186398 1 main.go:48] FLAG: --hostname="erik-nginx-mysql-0"
I0417 08:34:45.186406 1 main.go:48] FLAG: --log-backtrace-at=":0"
I0417 08:34:45.186418 1 main.go:48] FLAG: --log-dir=""
I0417 08:34:45.186427 1 main.go:48] FLAG: --log-flush-frequency="5s"
I0417 08:34:45.186438 1 main.go:48] FLAG: --logtostderr="true"
I0417 08:34:45.186446 1 main.go:48] FLAG: --min-resync-period="12h0m0s"
I0417 08:34:45.186455 1 main.go:48] FLAG: --mysql-cluster-name="erik-nginx-mysql"
I0417 08:34:45.186464 1 main.go:48] FLAG: --namespace="erik"
2018-04-17T08:35:07.064173Z 1 [Warning] 'user' entry 'root@localhost' ignored in --skip-name-resolve mode.
2018-04-17T08:35:07.064220Z 1 [Warning] 'user' entry 'mysql.session@localhost' ignored in --skip-name-resolve mode.
2018-04-17T08:35:07.064230Z 1 [Warning] 'user' entry 'mysql.sys@localhost' ignored in --skip-name-resolve mode.
2018-04-17T08:35:07.064251Z 1 [Warning] 'db' entry 'performance_schema mysql.session@localhost' ignored in --skip-name-resolve mode.
2018-04-17T08:35:07.064256Z 1 [Warning] 'db' entry 'sys mysql.sys@localhost' ignored in --skip-name-resolve mode.
2018-04-17T08:35:07.064271Z 1 [Warning] 'proxies_priv' entry '@ root@localhost' ignored in --skip-name-resolve mode.
2018-04-17T08:35:07.064308Z 1 [Warning] 'tables_priv' entry 'user mysql.session@localhost' ignored in --skip-name-resolve mode.
2018-04-17T08:35:07.064319Z 1 [Warning] 'tables_priv' entry 'sys_config mysql.sys@localhost' ignored in --skip-name-resolve mode.
[Entrypoint] Database initialized
2018-04-17T08:35:16.266407Z 0 [No
Starting mysql-agent version 0.1.0
ERROR: logging before flag.Parse: I0404 06:52:50.393968 1 flags.go:52] FLAG: --address="0.0.0.0"
ERROR: logging before flag.Parse: I0404 06:52:50.394070 1 flags.go:52] FLAG: --alsologtostderr="false"
ERROR: logging before flag.Parse: I0404 06:52:50.394093 1 flags.go:52] FLAG: --healthcheck-port="10512"
ERROR: logging before flag.Parse: I0404 06:52:50.394110 1 flags.go:52] FLAG: --hostname="erik-nginx-mysql-0"
ERROR: logging before flag.Parse: I0404 06:52:50.394156 1 flags.go:52] FLAG: --log-backtrace-at=":0"
ERROR: logging before flag.Parse: I0404 06:52:50.394177 1 flags.go:52] FLAG: --log-dir=""
ERROR: logging before flag.Parse: I0404 06:52:50.394194 1 flags.go:52] FLAG: --log-flush-frequency="5s"
ERROR: logging before flag.Parse: I0404 06:52:50.394237 1 flags.go:52] FLAG: --logtostderr="true"
ERROR: logging before flag.Parse: I0404 06:52:50.394250 1 flags.go:52] FLAG: --min-resync-period="12h0m0s"

Keybase proof

I hereby claim:

  • I am kirreen on github.
  • I am kirreen (https://keybase.io/kirreen) on keybase.
  • I have a public key ASCkqZ1DdoF0A1v14aQfcEP5C3toHro-1Sh4lNGf7DxWrgo

To claim this, I am signing this object:

import time, datetime
while True:
log = input()
if log != 'Exit' and log != 'exit' and log != 'Quit' and log != 'quit':
ts = time.time()
st = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S')
file = open('C:\log.txt', 'a')
file.write(st + ': ' + log + '\n')