i'm a linux newbie and i wanna install mariadb 10.2 which doesn't exist in the the repo. so i wanna install it from the source code mariadb-10.2.12.tar.gz here, so how can i install it
Asked
Active
Viewed 285 times
0
-
Don't bother to use source code; download and install the binary from https://downloads.mariadb.org/ – Rick James Feb 12 '18 at 23:06
-
Or use docker... ha – Jordan Stewart Mar 10 '18 at 23:13
-
If you are using Manjaro, you should be able to use this arch linux package: https://www.archlinux.org/packages/?name=mariadb Or you can just look at the packages install script. – Jordan Stewart Mar 10 '18 at 23:16
2 Answers
0
This worked for me in arch:-
- sudo pacman -S mariadb
- sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql
- sudo systemctl start mariadb
- sudo mysql_secure_installation
- mysql -u root -p

HatLess
- 10,622
- 5
- 14
- 32

chandan kumar
- 246
- 2
- 2