How to install MySQL in Ubantu?

Open a terminal window, and use the following command:

sudo apt-get install mysql-server-4.1

If you are running PHP you will also need to install the php module for mysql 4:

sudo apt-get install php4-mysql

To create a new database, use the mysqladmin command:

mysqladmin create

Share
This entry was posted in Linux Networking. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>