MySQL Debian 5

How to install MySQL on Debian 5

  1. Install MySQL
    apt-get -y install mysql-server
    1. Enter and verify a root password.

How to configure MySQL on Debian 5

  1. Run Debian's MySQL Secure Installation tool:
    mysql_secure_installation
    1. Enter the current MySQL root password.
    2. Change the root password: n
    3. Remove anonymous users: y
    4. Disallow root login remotely: y
    5. Remove test database and access to it: y
    6. Reload privilege tables now: y

Open Source Software: