Ubuntu 22.04 using freshly compiled perl 5.34.1. Attempting to build Test::mysqld (1.0013). The build fails during testing:
t/05-copy-data-from.t .. *** failed to launch mysqld ***
2022-09-16T15:03:22.359250Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.30) starting as process 16384
2022-09-16T15:03:22.361537Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: b4f28239-35d0-11ed-91b5-000c29547327.
2022-09-16T15:03:22.363630Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-09-16T15:03:22.375924Z 1 [ERROR] [MY-013862] [InnoDB] Neither found #innodb_redo subdirectory, nor ib_logfile* files in ./
2022-09-16T15:03:22.375942Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
2022-09-16T15:03:22.872881Z 1 [ERROR] [MY-010334] [Server] Failed to initialize DD Storage Engine
2022-09-16T15:03:22.873054Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
2022-09-16T15:03:22.873068Z 0 [ERROR] [MY-010119] [Server] Aborting
2022-09-16T15:03:22.873316Z 0 [System] [MY-010910] [Server] /usr/sbin/mysqld: Shutdown complete (mysqld 8.0.30) MySQL Community Server - GPL.
Have been searching for solutions to the Neither found #innodb_redo subdirectory, nor ib_logfile* files in ./ error in vain.
Mysql 8.0.30 installed via apt. /var/log/mysql/error.log:
2022-09-16T14:13:26.783802Z 0 [System] [MY-010116] [Server] /usr/sbin/mysqld (mysqld 8.0.30) starting as process 995
2022-09-16T14:13:26.833967Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2022-09-16T14:13:27.191629Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2022-09-16T14:13:27.412723Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2022-09-16T14:13:27.412750Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2022-09-16T14:13:27.435201Z 0 [System] [MY-010931] [Server] /usr/sbin/mysqld: ready for connections. Version: '8.0.30' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server - GPL.
2022-09-16T14:13:27.435229Z 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
/var/lib/mysql contains:
drwxr-x--- 2 mysql mysql 4096 Sep 16 08:13 '#innodb_redo'
which contains approx. 36 files like:
-rw-r----- 1 mysql mysql 3276800 Sep 16 08:13 '#ib_redo10_tmp'
I've tried uninstalling (with purge), deletion of /var/lib/mysql and reinstall. I can log into the database via the mysql command line. Issue filed at https://github.com/kazuho/p5-test-mysqld/issues/38