歡迎你

各類文章如有侵犯智慧財產權請來信告知--------607@dlps.tp.edu.tw

预览模式: 普通 | 列表

資料庫

一、mysql
      cd /usr/ports/databases/mysql50-server
      make WITH_CHARSET=big5 WITH_XCHARSET=all install clean
      cd /usr/ports/databases/php5-mysql
      make install clean
      
      vi  /etc/rc.conf
      mysql_enable="yes"
      /usr/local/etc/rc.d/mysql-server start
      
      設定sql
      /usr/local/bin/mysql mysql
     Update user SET password=password('XXXXXXXXXX') where user='root';
     FLUSH PRIVILEGES;
    

二、PostgreSQL
      cd /usr/ports/databases/postgresql82-server
      make install clean
      cd /usr/ports/databases/php5-pgsql
      make install clean
      
      vi  /etc/rc.conf
      postgresql_enable="YES"
      ...

查看更多...

Tags: 資料庫

分类:FreeBSd | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 3451