Reset Mysql Root Password Script

Lost (forgotten) your mysql root / admin password? Not to worry, it happens to the best of us.

This simple BASH password reset script will enable you to reset any mysql user password without knowing the current password

I would not recommend running it on a live production system as it requires shutting down the mysql server.

Heres the script:, it needs to be run as root.

# Kill any mysql processes currently running
echo Continue reading

Squid Proxy On Solaris

As part of a project I required a proxy which would allow remote users to access serveral internal servers sitting behind our firewall from a single access point. The easiest way of accomplishing this is via a proxy. My first choice of proxy is squid which supports HTTP, HTTPS, FTP and protocols. Used in reverse proxy mode it also alows you to reduce the load on webservers serving dynamic content Continue reading

Elastic Web Hosting and Amazon ec2

What is elastic webhosting?

Elastic web hosting in its simplest terms is a hosting account where resources can be rapidly expanded to meet demand. Still very much a new technology its use is gradually beginning to pick up as more and more people discover the limitations of fixed resource hosting. On a typical fixed hosting account you’re allocated a fixed amount of resources and the amount you pay is based on Continue reading

Ruby Rails Mongrel Apache Easy

Having attempted to set ruby on rails up many times, this is by far my favourite soloution and it also happens to be the simplest. Why did i go the mongrel route? Well because FastCgi with Apache make me want to cry. Its buggy (especially on fedora and CentOS) and its a pain in the ass to setup. Where as mongrel on the other hand is a piece of cake. Continue reading

Go back to top