Web Design

Reset the MySQL password

You forgot your MySQL password. No problem, you can recover it easily. Stop the MySQL service with # /etc/init.d/mysql stop …and restart it without a password: # mysqld_safe –skip-grant-tables & You’ll [...]


Generate random passwords using Perl

If you have a server where you have to generate new passwords daily, the following script can automate the process: #!/usr/bin/perl my @alphanumeric = (’a’..’z', ‘A’..’Z', 0..9); m[...]