Ubuntu Pastebin

Paste from Doow at Sun, 19 Feb 2017 20:35:41 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
doow@server:/etc$ sudo -u mysql mysql_secure_installation
touch: cannot touch '.my.cnf.4415': Permission denied
touch: cannot touch '.mysql.4415': Permission denied
chmod: cannot access '.my.cnf.4415': No such file or directory
chmod: cannot access '.mysql.4415': No such file or directory

NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB
      SERVERS IN PRODUCTION USE!  PLEASE READ EACH STEP CAREFULLY!

In order to log into MariaDB to secure it, we'll need the current
password for the root user.  If you've just installed MariaDB, and
you haven't set the root password yet, the password will be blank,
so you should just press enter here.

Enter current password for root (enter for none):
/usr/bin/mysql_secure_installation: 234: /usr/bin/mysql_secure_installation: cannot create .my.cnf.4415: Permission denied
/usr/bin/mysql_secure_installation: 235: /usr/bin/mysql_secure_installation: cannot create .my.cnf.4415: Permission denied
/usr/bin/mysql_secure_installation: 236: /usr/bin/mysql_secure_installation: cannot create .my.cnf.4415: Permission denied
/usr/bin/mysql_secure_installation: 238: /usr/bin/mysql_secure_installation: cannot create .my.cnf.4415: Permission denied
/usr/bin/mysql_secure_installation: 203: /usr/bin/mysql_secure_installation: cannot create .mysql.4415: Permission denied
/usr/bin/mysql_secure_installation: 205: /usr/bin/mysql_secure_installation: cannot open .mysql.4415: No such file
OK, successfully used password, moving on...

Setting the root password ensures that nobody can log into the MariaDB
root user without the proper authorisation.

Set root password? [Y/n] ^C
Aborting!
Download as text