I am now using Arch Linux. It is cool and simple. And I have just dropped Ubuntu Linux. Installing LAMP [ Linux Apache Mysql PHP] is too easy there. Just type apt-get install lamp^ and all configurations are autometically performed. But in case of Arch , it i is little different, but not so hard.
To install MySQL server , just type --
pacman -S mariadb
and mariadb [ open source fork of MySQL ] .
Now you have execute your second command which is --
mysql_secure_installation
Here you can set your mySQL root passcode and disable anonymous login.
That's it.
You can log in and enjoy mySQL.
To install MySQL server , just type --
pacman -S mariadb
and mariadb [ open source fork of MySQL ] .
Now you have execute your second command which is --
sudo mysql_install_db --user=mysql --basedir=/usr/ --ldata=/var/lib/mysql/
Now secure your mySQL installation by typing --mysql_secure_installation
Here you can set your mySQL root passcode and disable anonymous login.
That's it.
You can log in and enjoy mySQL.