Reset your MySQL root password

Forgetting passwords isn't generally a good idea. It does happen, though, and if it happens to your MySQL server, this is the process you need to follow in order to recover it.

First of all, you need to stop the running MySQL server. You need to be root on your system, then:

# /etc/init.d/mysql stop

Now, we need to make a text file called an init file ...

Click through to read more...

Adding System Services with Upstart

We took a look at upstart more than half a year ago, and at that point it was only beginning to emerge. In Ubuntu 7.10 and beyond, we are beginning to see the result of what eventually will be a complete replacement for System V. Since we'll be seeing more of upstart in future Ubuntu versions, in Fedora 9, and other distributions, let's take a look at ...

Click through to read more...

Keep Your SSH Connection Open

Do you get annoyed when you have a SSH session open, visit your browser for a while, and then return only to find you were disconnected? Most home NAT routers are the cause of this. If your router doesn't offer an option to not shut off idle connections, you are probably better off by setting a keep-alive setting.

To do this, just open /etc/ssh/ssh_config on your home ...

Click through to read more...

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. ...
  7. Go to