Srini's Point of View

My thoughts on technology, food and other fancies…

MAMP - mysqlcheck: Got error: 1045

I started seeing the following error every time I started MAMP. This began after I changed the root password for my MAMP installation on my MBP.

Mamp Error Msg

/Applications/MAMP/Library/bin/mysqlcheck: Got error: 1045: Access
denied for user 'root'@'localhost' (using password: YES) when trying to
connect

It turns out …

Join multiple mpg files into one file

I did not realize how easy it is to join mpeg files with just the windows copy command or unix cat command.

On windows the trick is to copy the files while preserving the binary format. Here is how you would do it -

copy files1.mpg /b + files2.mpg /b …

SSH aliases

I constantly connect to linux or unix machines using ssh and it can get a little bothersome typing out the IP address repeatedly. Here is the typical syntax to connect to a linux box (random IP address)

ssh username@111.11.11.1

Now imagine typing this again and again …

Unix tar tricks

One of the most common programs on Linux systems for packaging files is the venerable tar. tar is short for tape archive, and originally, it would archive your files to a tape device. Now, you’re more likely to use a file to make your archive. To use a tarfile …

Windows registry repair

I found this wonderful free tool to repair registry problems.. It’s just simply called registry repair! Saw some good reviews and it is dead simple to use.. Just scan your registry and you will see a list of potential problems. You can then fix and repair the problem right …