2019-07-19 19:38:09 +02:00
|
|
|
You have just installed MariaDB server for the first time.
|
2014-05-23 09:29:50 +02:00
|
|
|
|
2019-07-19 19:38:09 +02:00
|
|
|
You can start it via:
|
|
|
|
systemctl start mariadb
|
|
|
|
or
|
2014-05-23 09:29:50 +02:00
|
|
|
rcmysql start
|
|
|
|
|
2019-07-19 19:38:09 +02:00
|
|
|
During the first start, empty database will be created for you automatically.
|
2014-05-23 09:29:50 +02:00
|
|
|
|
2019-07-19 19:38:09 +02:00
|
|
|
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER!
|
|
|
|
To do so, start the server and run the following commands:
|
2014-05-23 09:29:50 +02:00
|
|
|
|
|
|
|
'/usr/bin/mysqladmin' -u root password 'new-password'
|
2015-06-25 15:57:47 +02:00
|
|
|
'/usr/bin/mysqladmin' -u root -h <hostname> password 'new-password'
|
2014-05-23 09:29:50 +02:00
|
|
|
|
|
|
|
Alternatively you can run:
|
|
|
|
'/usr/bin/mysql_secure_installation'
|
|
|
|
|
|
|
|
which will also give you the option of removing the test
|
2014-12-06 14:56:41 +01:00
|
|
|
databases and anonymous user created by default. This is
|
2014-05-23 09:29:50 +02:00
|
|
|
strongly recommended for production servers.
|
|
|
|
|