HOWTO : Regenerate SSL certificate and Reset MySQL root password on Ubuntu 9.04

When your SSL certificate is expired or need to regenerate for some reason, you can issue the following command under Ubuntu 9.04.

sudo make-ssl-cert generate -default-snakeoil --force-overwrite

When you forgot the root password of MySQL, you can reset it by issue the following command under Ubuntu 9.04.

sudo dpkg-reconfigure mysql-server-5.0

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: