in manjaro linux ,install mysql is so eazy!! follow down step by step.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# arch linux auto install mysql
sudo pacman -S mysql
# random password
sudo mysqld --initialize --user=mysql --basedir=/usr --datadir=/var/lib/mysql
# empty password
sudo mysqld --initialize-insecure --user=mysql --basedir=/usr --datadir=/var/lib/mysql
# auto start service
sudo systemctl enable mysqld.service
sudo systemctl daemon-reload
sudo systemctl start mysqld.service
# login local mysql server
mysql -u root -p
|
error