月份:四月 2011

windows mysql reset root

Posted on Updated on

http://dev.mysql.com/doc/mysql-windows-excerpt/5.0/en/resetting-permissions-windows.html

1. stop mysql service.
2. edit a file abcd.sql
UPDATE mysql.user SET Password=PASSWORD(‘MyNewPass’) WHERE User=’root’;
FLUSH PRIVILEGES;
3. mysqld.exe –console –init-file=abcd.sql
4. new root password = MyNewPass

廣告

to minimize Javascript codes

Posted on

1.YUI Compressor (from Yahoo)
2.JSMin (by Douglas Crockford)
3.ShrinkSafe (from Dojo library)
4.Packer (by Dean Edwards)