Category: database / MariaDB / MySQL / Postgress / DB

Russian IT Security Updates 2020-01

now WITH SPICY COMMENTS X-D SecurityLab, [22.12.19 12:40] A Twitter user using the alias 08Tc3wBB created tfp0-an exploit that allows you to jailbreak the latest iPhone models with IOS 13.3. The functionality of the exploit has already been confirmed by […]

MySQL search replace update where sql query

yes, it is NOT the most convenient, query you could imagine. UPDATE `table_name` SET `column_name` = REPLACE(`column_name`, ‚replace_this‘, ‚with_this‘) WHERE `column_name` LIKE ‚%with_this%‘ COLLATE utf8mb4_bin; it is what phpmyadmin generates when you go here:


docker exec -it -u postgres example-db psql; # login interactively SELECT * FROM pg_stat_activity WHERE datname = ‚example‘; # check open connections to database example # (there shall be none, otherwise you can not drop the database) SELECT pg_terminate_backend ( […]

Was macht eigentlich ORACLE?

Jeder kennt Steve Jobs (now dead) – aber wer kennt schon „Larry“ Ellison? 😀 Oracle hat 2010 die Firma „Sun Microsystem aufgekauft“ und damit OpenSource Technologie wie Java, VirtualBox und MySQL eingekauft. Lawrence Joseph „Larry“ Ellison (born August 17, 1944) […]


tested on Linux debian7 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1 x86_64 GNU/Linux in any case you need to stop current mysql operation: /etc/init.d/mysql stop; # stop mysql service # if that did not help try: killall mysqld; now you have two […]


login to mysql to see what databases are there. mysql -u root -p mysql> show databases; +———————-+ | Database | +———————-+ | information_schema | | DatabaseXY | | DatabaseXYZ | | mysql | | phpmyadmin | +———————-+ 7 rows in […]