-
HowTo: readable booleans on MySQL/MariaDB SELECT …
I often need to work in a database on the command line. Booleans are not displayed in an intuitive way. I mean this: There is a simple trick that helps me to read it much better: cast it to an integer. This is done by adding +0 to the boolean column:
-
Ein Grafana Dashboard für Goetemp
Über mein kleines Projekt Goetemp habe ich hier schon öfter geschrieben. Seit nunmehr über sieben Jahren sammle ich Wetterdaten aus Göttingen und spiele damit herum. In den vergangenen Tagen habe ich das Backend für die Simple JSON Datasource für Grafana implementiert. Damit ist es nun möglich die Daten auch in Grafana zu visualisieren. Zuerst hatte […]
-
MySQL – Show open connections and processes
Einmal an die eigene Notizwand gekritzelt: MySQL Verbindungen + weitere Verbindungsrelevante Infos anzeigen: root@localhost [(none)]> show status like ‚%onn%‘; +————————–+——–+ | Variable_name | Value | +————————–+——–+ | Aborted_connects | 0 | | Connections | 440921 | | Max_used_connections | 67 | | Ssl_client_connects | 0 | | Ssl_connect_renegotiates | 0 | | Ssl_finished_connects | 0 […]