$ podman run --rm --env MARIADB_ROOT_PASSWORD=bob --name m102 mariadb:10.2 --log-bin
|
2022-03-29 02:03:07+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.2.43+maria~bionic started.
|
2022-03-29 02:03:07+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
|
2022-03-29 02:03:07+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.2.43+maria~bionic started.
|
2022-03-29 02:03:07+00:00 [Note] [Entrypoint]: Initializing database files
|
|
|
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
|
To do so, start the server, then issue the following command:
|
|
'/usr/bin/mysql_secure_installation'
|
|
which will also give you the option of removing the test
|
databases and anonymous user created by default. This is
|
strongly recommended for production servers.
|
|
See the MariaDB Knowledgebase at http://mariadb.com/kb
|
|
Please report any problems at http://mariadb.org/jira
|
|
The latest information about MariaDB is available at http://mariadb.org/.
|
|
Consider joining MariaDB's strong and vibrant community:
|
https://mariadb.org/get-involved/
|
|
2022-03-29 02:03:09+00:00 [Note] [Entrypoint]: Database files initialized
|
2022-03-29 02:03:09+00:00 [Note] [Entrypoint]: Starting temporary server
|
2022-03-29 02:03:09+00:00 [Note] [Entrypoint]: Waiting for server startup
|
2022-03-29 2:03:09 140241407575744 [Note] mysqld (mysqld 10.2.43-MariaDB-1:10.2.43+maria~bionic-log) starting as process 111 ...
|
2022-03-29 2:03:09 140241407575744 [Warning] No argument was provided to --log-bin and neither --log-basename or --log-bin-index where used; This may cause repliction to break when this server acts as a master and has its hostname changed! Please use '--log-basename=40682046b7a1' or '--log-b
|
....
|
|
$ podman exec m102 mysqlbinlog /var/lib/mysql/mysqld-bin.000001 | more
|
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=1*/;
|
/*!40019 SET @@session.max_insert_delayed_threads=0*/;
|
/*!50003 SET @OLD_COMPLETION_TYPE=@@COMPLETION_TYPE,COMPLETION_TYPE=0*/;
|
DELIMITER /*!*/;
|
# at 4
|
#220329 2:03:09 server id 1 end_log_pos 256 CRC32 0x9d5d1183 Start: binlog v 4, server v 10.2.43-MariaDB-1:10.2.43+maria~bionic-log created 220329 2:03:09 a
|
t startup
|
ROLLBACK/*!*/;
|
BINLOG '
|
3WhCYg8BAAAA/AAAAAABAAAAAAQAMTAuMi40My1NYXJpYURCLTE6MTAuMi40MyttYXJpYX5iaW9u
|
aWMtbG9nAAAAAAAAAADdaEJiEzgNAAgAEgAEBAQEEgAA5AAEGggAAAAICAgCAAAACgoKAAAAAAAA
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
AAAAAAAAAAAEEwQADQgICAoKCgGDEV2d
|
'/*!*/;
|
# at 256
|
#220329 2:03:09 server id 1 end_log_pos 285 CRC32 0x5c6e0e0e Gtid list []
|
# at 285
|
#220329 2:03:09 server id 1 end_log_pos 329 CRC32 0x12d279db Binlog checkpoint mysqld-bin.000001
|
# at 329
|
#220329 2:03:10 server id 1 end_log_pos 371 CRC32 0x92eb5423 GTID 0-1-1 ddl
|
/*!100101 SET @@session.skip_parallel_replication=0*//*!*/;
|
/*!100001 SET @@session.gtid_domain_id=0*//*!*/;
|
/*!100001 SET @@session.server_id=1*//*!*/;
|
/*!100001 SET @@session.gtid_seq_no=1*//*!*/;
|
# at 371
|
#220329 2:03:10 server id 1 end_log_pos 463 CRC32 0x9835e4a5 Query thread_id=10 exec_time=0 error_code=0
|
use `mysql`/*!*/;
|
SET TIMESTAMP=1648519390/*!*/;
|
SET @@session.pseudo_thread_id=10/*!*/;
|
SET @@session.foreign_key_checks=1, @@session.sql_auto_is_null=0, @@session.unique_checks=1, @@session.autocommit=1, @@session.check_constraint_checks=1/*!*/;
|
SET @@session.sql_mode=1411383296/*!*/;
|
SET @@session.auto_increment_increment=1, @@session.auto_increment_offset=1/*!*/;
|
/*!\C latin1 *//*!*/;
|
SET @@session.character_set_client=8,@@session.collation_connection=8,@@session.collation_server=8/*!*/;
|
SET @@session.lc_time_names=0/*!*/;
|
SET @@session.collation_database=DEFAULT/*!*/;
|
TRUNCATE TABLE time_zone
|