Opened 3 years ago
Last modified 3 years ago
#63878 assigned defect
mariadb-10.5 and other versions after install problem with mysql_install_db
Reported by: | 6aKa | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | Cc: | jonasjonas (Frank Hellenkamp), claudepache (Claude Pache) | |
Port: | mariadb-10.5 |
Description
From other port
:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch i386 :debug:sysinfo MacPorts 2.7.1 :debug:sysinfo Xcode 13.1 :debug:sysinfo SDK 12 :debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 12.0
Installed openssl
$ port echo installed | grep openss openssl @3_1 openssl3 @3.0.0_4+legacy openssl11 @1.1.1l_5
Installing MariaDB/MySQL system tables in '/opt/local/var/db/mariadb-10.5' ... /opt/local/lib/mariadb-10.5/bin/mysql_install_db: line 524: 24400 Abort trap: 6 "$mysqld_bootstrap" $defaults $defaults_group_suffix "$mysqld_opt" --bootstrap $silent_startup "--basedir=$basedir" "--datadir=$ldata" --log-warnings=0 --enforce-storage-engine="" "--plugin-dir=${plugindir}" $args --max_allowed_packet=8M --net_buffer_length=16K Installation of system tables failed! Examine the logs in /opt/local/var/db/mariadb-10.5 for more information.
And this problem with other versions mariadb-10.4, mariadb-10.6 - other not testing
Change History (6)
comment:1 Changed 3 years ago by jmroot (Joshua Root)
Owner: | set to michaelld |
---|---|
Status: | new → assigned |
comment:2 Changed 3 years ago by jonasjonas (Frank Hellenkamp)
Cc: | jonasjonas added |
---|
comment:3 Changed 3 years ago by jonasjonas (Frank Hellenkamp)
comment:4 Changed 3 years ago by jonasjonas (Frank Hellenkamp)
I installed libressl instead of openssl, removed and reinstalled mariadb-10.6 and mariadb-10.6-server and now I seems to run without crashing.
comment:5 Changed 3 years ago by michaelld (Michael Dickens)
@jonasjonas : Thanks for reporting back your success using libressl
... very interesting! MariaDB recommends "Wolf SSL" via a GIT submodule), but allows any SSL with a compatible API. If the issue is with the SSL ABI, then that indicates that either the SSL implementation is broken or MariaDB's use of the SSL implementation is broken. Either way, it's beyond the scope of what I can reasonably fix. That said, I'll look to see if upstream has a fix in place already & if so then create a PR to add it in in the interim before the next release.
comment:6 Changed 3 years ago by claudepache (Claude Pache)
Cc: | claudepache added |
---|
I think that it is related to the following:
mariadb crashes as soon as on tries to execute a query on it (with an existing database).
It seems to be the same behaviour on mariadb 10.5 and 10.6.