forked from ericfrederich/docker-ampache
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Description
I am using the current ampache nosql-preview docker image from dockerhub.
However, something seems wrong with the build, as this image ships and starts mysql. I'm using a dedicated mariadb container which ampache is connecting to.
root@30b088520a3c:/# ps aux | grep mariadb
mysql 274 0.0 1.3 1209224 222764 ? Sl 15:33 0:00 /usr/sbin/mariadbd --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --skip-log-error --pid-file=/run/mysqld/mysqld.pid --socket=/run/mysqld/mysqld.soc
root@30b088520a3c:/# apt list | grep mariadb
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
libmariadb3/now 1:10.11.6-0+deb12u1 amd64 [installed,local]
mariadb-client-core/now 1:10.11.6-0+deb12u1 amd64 [installed,local]
mariadb-client/now 1:10.11.6-0+deb12u1 amd64 [installed,local]
mariadb-common/now 1:10.11.6-0+deb12u1 all [installed,local]
mariadb-server-core/now 1:10.11.6-0+deb12u1 amd64 [installed,local]
mariadb-server/now 1:10.11.6-0+deb12u1 amd64 [installed,local]
docker logs:
=> An empty or uninitialized MySQL volume is detected in
=> Installing MySQL ...
Installing MariaDB/MySQL system tables in '/var/lib/mysql' ...
2024-05-17 15:33:06 0 [Warning] mariadbd: io_uring_queue_init() failed with errno 95
2024-05-17 15:33:06 0 [Warning] InnoDB: liburing disabled: falling back to innodb_use_native_aio=OFF
2024-05-17 15:33:06 0 [Warning] You need to use --log-bin to make --expire-logs-days or --binlog-expire-logs-seconds work.
OK
To start mariadbd at boot time you have to copy
support-files/mariadb.service to the right place for your system
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following command:
'/usr/bin/mariadb-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 https://mariadb.com/kb
You can start the MariaDB daemon with:
cd '/usr' ; /usr/bin/mariadb-safe --datadir='/var/lib/mysql'
You can test the MariaDB daemon with mysql-test-run.pl
cd '/usr/share/mysql/mysql-test' ; perl mariadb-test-run.pl
Please report any problems at https://mariadb.org/jira
The latest information about MariaDB is available at https://mariadb.org/.
Consider joining MariaDB's strong and vibrant community:
https://mariadb.org/get-involved/
=> Done!
240517 15:33:11 mysqld_safe Logging to syslog.
240517 15:33:11 mysqld_safe Starting mariadbd daemon with databases from /var/lib/mysql
=> Waiting for confirmation of MySQL service startup
=> Creating MySQL admin user with random password
=> Done!
========================================================================
You can now connect to this MySQL Server using:
mysql -uadmin -*** -h<host> -P<port>
Please remember to change the above password as soon as possible!
MySQL user 'root' has no password but only allows local connections
Metadata
Metadata
Assignees
Labels
No labels