前期准備:
- #cd /usr/ports/databases/mysql51-server &&make WITH_CHARSET=gbk WITH_XCHARSET=all
- WITH_PROC_SCOPE_PTH=yes BUILD_OPTIMIZED=yes BUILD_STATIC=yes install clean
修改數據庫路徑至
- #/usr/local/etc/rc.d/mysql-server stop
- #mv /var/db/mysql /data/mysql
- #vi /usr/local/etc/rc.d/mysql-server
- #mysqladmin -u root -p password 'your password'
- #mysqladmin -u root -p variables |grep datadir
設計並創建FTP數據庫
650) this.width=650;" border=0>
表中現在沒有任何數據,現在我們向其中添加一條記錄,也就是添加一個帳戶
650) this.width=650;" border=0>
650) this.width=650;" border=0>
刪除某一用戶650) this.width=650;" border=0>