MariaDB Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:


<pre>
<pre>
mysql_secure_installation
/usr/bin/mysql_secure_installation
</pre>
</pre>



Revision as of 21:17, 17 April 2017

Internal

Post-Install

Secure

/usr/bin/mysql_secure_installation
Enter current password for root (enter for none): 
...
Set root password? [Y/n] Y
...
Remove anonymous users? [Y/n] Y
...
Disallow root login remotely? [Y/n] Y
...
Remove test database and access to it? [Y/n] Y
...
Reload privilege tables now? [Y/n] Y
...

Start at Boot

systemctl enable mariadb
systemctl start mariadb