Install MySQL on ubuntu desktop

If you’re trying to set up your ubuntu desktop in order to carry out some LAMP stack development , you’ll need to install mySQL Relational Database Management System (RDBMS) .  Ubuntu makes it easy to configure a LAMP server on ubuntu desktop,  however depending on your set up you may want install mySQL separately.

How to install mySQL on ubuntu desktop

To install mysql open your terminal window [key]ctrl + Alt + T[/key]

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

During the installation task a window will pop up asking you to set a password for the “root” user

Create an easy to remember password and make note of it.

Once the install is complete we will need to activate the database

sudo mysql install db

The installation should now be complete.

Gary Woodfine

Freelance Full Stack Developer at
Helps businesses by improving their technical proficiencies and eliminating waste from the software development pipelines.

A unique background as business owner, marketing, software development and business development ensures that he can offer the optimum business consultancy services across a wide spectrum of business challenges.

Latest posts by Gary Woodfine (see all)