Ubuntu MySQL

From Hackers & Designers
Revision as of 13:48, 1 July 2016 by JBG (talk | contribs) (Created page with "= Installing MySQL on Ubuntu = == Step 1 : SSH to your instance == <code>you@laptop:~$ ssh root@213.108.110.46</code> == Step 2 : Install MySQL packages == <code>root@jbg:...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

...