Ubuntu MySQL

From Hackers & Designers

Installing MySQL on Ubuntu

Step 1 : SSH to your instance

you@laptop:~$ ssh root@213.108.110.46

Step 2 : Install MySQL packages

root@jbg:~# sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql


Step 3 : Activate MySQL

root@jbg:~# sudo mysql_install_db


Step 4 : Adjust permissions

root@jbg:~# sudo /usr/bin/mysql_secure_installation

Step 5: Relational databases

...