# apt-get install mysql-client-5.1 mysql-client-core-5.1 mysql-common mysql-server-5.1 mysql-server-core-5.1 mysql-admin mysql-gui-tools-common mysql-query-browser
With this packages we install mysql client, mysql server and some administration tools.
Later, we will be asked to set up a root password:
Be sure to remember that password.
Once it is installed we can run MySQL Administrator to manage our recently installed server.
It’s highly recommended to create other user to work
With MySQL Administrator you also can manage backups or check server’s health for example.
And finally, with MySQL Query Browser you can que to your server; create new databases, insert values, sql queries, etc.