Archive

Archive for November, 2013

reset mysql password

November 13, 2013 Leave a comment

open terminal

#>sudo service mysqld stop

#>sudo mysqld_safe –skip-grant-tables

open another terminal

#>mysql -u root

mysql>show databases;

mysql>use mysql;

mysql>UPDATE user SET Password=PASSWORD(‘password’) WHERE User=’root’;

mysql>FLUSH PRIVILEGES;

mysql> /q

now run command in first terminal that as follows

#>sudo service mysqld start

Advertisements
Categories: Uncategorized

delete all svn files from current directory recursively

November 13, 2013 Leave a comment

find . -type d -name ‘.svn’ -print -exec rm -rf {} \;

Categories: Uncategorized