Rss Feed

June, 2010

  1. Remembering OSI Layers

    18 June 2010 by admin

    All people seem to need data processing

    Application
    Presentation
    Session
    Transport
    Network
    Data link
    Physical


  2. Forgotten MySQL Root Password

    by admin

    It happens to the best of us all the time. (Three times in a 24-hour period is my record…) On my Ubuntu VPSs, this is what I do when that happens:

    $-> /etc/init.d/mysql stop
    $-> mysqld_safe --skip-grant-tables &
    $-> mysql -u root

    Use the ‘msyql’ database to issue this query:
    UPDATE user set password=PASSWORD("ice_cream") where User='root';
    Flush privs and then stop and start MySQL (normally).


  3. Is MySQL OK?

    by admin

    There are always many ways to skin a cat but here’s a neat way to check on MySQL:

    root@aleida:/home/aleida# mysqladmin -p ping
    Enter password:
    mysqld is alive

    Kinda neat, no?