Installing MySQL Server on Debian 4

by | May 1, 2009 | Linux Administrator

These days, web sites and applications alike, utilize databases to deliver “on demand” information, to millions of people, in fractions of seconds.

MySQL is one of the most popular and most powerful Database Servers available.

Installing MySQL Server has become “Old Hat” for people implementing Content Management Systems (CMS), Customer Relationship Management (CRM), eMail systems and publishing platforms.

Are you familiar with phpBB, SugarCRM, WordPress (and/or BuddyPress) or other similar web platforms? They all utilize MySQL.

  1. At the Debian GNU/Linux w/ KDE Welcome Screen, chose the “Menu” option in the lower left part of the screen.
  2. In the Menu chose the “Console Login” option. (You Can also simply click ALT+N from the Debian GNU/Linux w/ KDE Welcome Screen, in place of the first two steps in this section. This is a shortcut to the Console or “CONSOLE MODE”.)
  3. At the Login prompt type: “root” and hit the [enter] key.
  4. Type in the Password of the “root” user and hit the [enter] key. You would have set this password up during installation. See our Installing Debian 4 on a PC guide.
  5. Then you will type the following code:
    test:~# apt-get update
    then press the [enter] key. This will download the latest, most up to date installation packages. Do not try to continue until it has completed the package header downloads.
  6. Once all the package headers have been downloaded, type:
    test:~# apt-get install mysql-server
    then press the [enter] key to continue. You will be prompted about being sure. Hit the “Y” key and press the [enter] key to continue.
  7. When you are returned to the command prompt, you need to verify that the installation completed without errors. Read the last 4 lines of the installation script, found above the # Command Prompt. It should say “Stopping MySQL database server: mysqld” then “Starting MySQL database server: mysqld” then “Checking for corrupt, not cleanly closed and upgrade needing tables…” and lastly “Setting up mysql-server (version number)” .
  8. Obviously the last step should have left you at the # Command Prompt.

Now, wasn’t that easy?

Congratulations, you have successfully installed MySQL Server!


UPDATE: This post is old and has been modified for use in new WordPress Theme Designs. In some cases, Categories, Tags and/or the actual Content has been modified. Content found in this post may be dated and irrelevant and should be used with caution. This post may be original to this site or may have come from one of many other WordPress-powered websites I’ve run since 2008. All previous websites have been shuttered; though new ones may pop up in the future.

Logo with image

About the Author:

WebDevRobert

Innovative Technology Professional, working on IT/OT Convergence & Security, in the foundry industry.

Website Designer/Developer since the mid 1990’s.

Apple, Linux and Network Administrator since the late 1990’s.

Background includes several years of IT/OT and IIoT Administration, Communications Infrastructure Design and Project Management.

Currently the VP of Technology for Oil City Iron Works, Inc., in Corsicana, TX.

Subscribe for Updates:

This field is for validation purposes and should be left unchanged.
This field is hidden when viewing the form

Next Steps: Sync an Email Add-On

To get the most out of your form, we suggest that you sync this form with an email add-on. To learn more about your email add-on options, visit the following page (https://www.gravityforms.com/the-8-best-email-plugins-for-wordpress-in-2020/). Important: Delete this tip before you publish the form.
Name(Required)
Email(Required)