Copyright © 2016 MariaDB. All rights reserved.
Get the Free Gartner Report on Optimizing with Open Source
On arch I followed these these steps
sudo zfs create -o recordsize=8k -o primarycache=metadata -o mountpoint=/srv/data zdata/data
sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/srv/data
sudo systemctl start mysqld
The last command asks for the current password. Dispite it saying that the password should be empty, this does not work:
Enter current password for root (enter for none):
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Please update this description and correct the error.
In Linux Mint you have to add sudo before run this script:
$ sudo mysql_secure_installation
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) this will show you if you do not add sudo.
I have used mysql in Ubuntu and no need to add sudo to use it.
Ubuntu: $ mysql -u root -p, this work fine.
Linux Mint: $ sudo mysql -u root -p
This seems normal. If there's a root password it needs to be specified. Only if there is none does simply pressing enter work.
Download MariaDB and start working immediately! You can also get subscription details and learn more about the advantages of MariaDB's additional service offers.