sudo apt-get install mysql-server php5-mysql -y

Benutzer erstellen:

create user 'ptea'@'localhost' identified by 'password-here’;

Admin-Rechte vergeben:

grant all privileges on * . * to 'ptea'@'localhost';
flush privileges;
create database wisecards;

Server neu starten:

sudo servcie mysql restart