Feed on
Posts
Comments

Archive for December 31st, 2007

[備份] Windows 2003 常用軟體

以下是備份我自己常用的軟體,原本以為很少,後來發現還蠻多的,不過大部分都是 OpenSource
UltraVnc
Unicode 補完計畫
Microsoft SQL Server 2005
Appserv 2.5.9
FireFox
PsPad
cwRsyncServer
Alcohol 120%
Filezilla
Foobar2003
μTorrent
Dr.eye
Adobe Reader 8
VMware Workstation
Gene6 Ftp Server
ComicsViewer
BitComet
Flickr Uploadr
HD Tune
Pidgin
Skype
EmEditor
ESET
Microsoft Office 2003
MySQL Tools for 5.0
No-IP Client
Everest
KMPlayer

Read Full Post »

剛剛在處理老闆的機器移機問題,雖然有給我 root 權限,可是 MySQL 密碼沒有給我 root 的,然後我去看程式,都沒有用到 root ,都是用普通使用者,所以就上網找一下忘記密碼怎麼處理,其實找到的方法就是利用 command line 的方法,相當方便,最終解決方法還是文字介面,作法如下
首先先 Kill 掉所有 MySQL 的連線
# on Linux
/etc/init.d/mysqld stop
# on FreeBSD
/usr/local/etc/rc.d/mysql-server stop
killall -9 mysqld
然後進入 MySQL 安全模式
mysqld_safe -u root --skip-grant-tables &
然後利用文字介面修改 MySQL root 密碼
mysql
>use mysql
>UPDATE user SET password=password('這裡輸入你的密碼') where user='root';
>FLUSH PRIVILEGES;
>exit
dump database
mysqladmin -uroot -p flush-logs
mysqldump phpbb2 -B -uroot [...]

Read Full Post »