mariadb/README.install
Mikhail Novosyolov 0132e7e3ec No-change import from openSUSE mariadb 10.5.8-3.1
This package in ROSA was maintained quite poorly, had only a few users
and lacked such important features as running multiple instances
of MySQL server (mysqld@.service) and scripts for automatic upgrade
to newer versions.
Also upstream has renamed libraries, now there is mysql-connector-c with
devel parts.
/srv/mysql is also rather strange, /var/lib/mysql is more common.
Let's rebase to a well-maintained package from openSUSE.
It is being done in a not released platform without any compatibility
for smooth upgrades fromt he old package. The new one has a lower epoch,
automatic upgrades won't be done.
High epoch is not needed anymore: mysql-community has not been merged from
abf.io/rosaserver to abf.io/import, and now the library in mariadb is
called libmariadbclient, not libmysqlclient (but compatibility symlinks do exist),
so there are no duplicated provides and so there is no need in a high epoch.

This commits just imports from openSUSE's SRPM without any changes,
the following one will adapt it for ROSA. It will allow to easily see
the diff against the openSUSE's package to easify further syncs
and contibuting back to SUSE (https://bugzilla.opensuse.org/show_bug.cgi?id=1182218)
2021-02-13 14:21:52 +03:00

22 lines
674 B
Text

You have just installed MariaDB server for the first time.
You can start it via:
systemctl start mariadb
or
rcmysql start
During the first start, empty database will be created for you automatically.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER!
To do so, start the server and run the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h <hostname> password 'new-password'
Alternatively you can run:
'/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.