Commit 817a2fbe authored by Otto Kekäläinen's avatar Otto Kekäläinen
Browse files

Update server README.Debian to match current unix socekt authentication

parent 5202864f
...@@ -3,6 +3,7 @@ mariadb-10.0 (10.0.23-2) UNRELEASED; urgency=low ...@@ -3,6 +3,7 @@ mariadb-10.0 (10.0.23-2) UNRELEASED; urgency=low
* Skip unstable Spider tests on Launchpad s390x builds * Skip unstable Spider tests on Launchpad s390x builds
* Extend install lists with missing files after reviewing the list * Extend install lists with missing files after reviewing the list
of files produced by the build process of files produced by the build process
* Update server README.Debian to match current unix socekt authentication
-- Otto Kekäläinen <otto@seravo.fi> Mon, 28 Dec 2015 09:51:36 +0200 -- Otto Kekäläinen <otto@seravo.fi> Mon, 28 Dec 2015 09:51:36 +0200
......
* MYSQL WON'T START OR STOP?: * MYSQL WON'T START OR STOP?:
============================= =============================
First check the contents of syslog (or systemd journal) and then check the
logs at /var/log/mysql/ for any hints of what might be wrong.
* ROOT USER AUTHENTICATION VIA UNIX SOCKET
==========================================
On new installs no root password is set and no debian-sys-maint user is
created anymore. Instead the MariaDB root account is set to be authenticated
using the unix socket, e.g. any mysqld invocation by root or via sudo will
let the user see the mysqld prompt.
You may never ever delete the mysql user "root". Although it has no password You may never ever delete the mysql user "root". Although it has no password
is set, the unix_auth plugin ensure that it can only be run locally as the root is set, the unix_auth plugin ensure that it can only be run locally as the root
user. The credentials in /etc/mysql/debian.cnf specify the user are used by the user.
init scripts to stop the server and perform logrotation. So in most of the
time you can fix the situation by making sure that the /etc/mysql/debian.cnf The credentials in /etc/mysql/debian.cnf specify the user which is used by the
file specifies the root user and no password. init scripts to stop the server and perform logrotation. This used to be the
debian-sys-maint user which is no longer used as root can run directly.
This used to be the debian-sys-maint user which is no longer used. If you have start/stop problems make sure that the /etc/mysql/debian.cnf file specifies the root user and no password.
* WHAT TO DO AFTER UPGRADES: * WHAT TO DO AFTER UPGRADES:
============================ ============================
...@@ -22,7 +34,6 @@ chapter. They are not necessary as the Debian packages does them ...@@ -22,7 +34,6 @@ chapter. They are not necessary as the Debian packages does them
automatically. automatically.
The only thing that is left over for the admin is The only thing that is left over for the admin is
- setting the passwords
- creating new users and databases - creating new users and databases
- read the rest of this text - read the rest of this text
...@@ -39,8 +50,8 @@ https://mariadb.com/kb ...@@ -39,8 +50,8 @@ https://mariadb.com/kb
* PASSWORDS: * PASSWORDS:
============ ============
It is strongly recommended you create an admin users for your database It is recommended you create additional admin users for your database
adminstration needs. adminstration needs in addition to the default root user.
If your your local unix account is the one you want to have local super user If your your local unix account is the one you want to have local super user
access on your database with you can create the following account that will access on your database with you can create the following account that will
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment