用戶工具

網站工具


mysql

差異處

這裏顯示二個版本的差異處。

連向這個比對檢視

mysql [2009/03/06 10:26]
bestlong
mysql [2010/08/23 15:30] (目前版本)
行 1: 行 1:
 ====== MySQL 資料庫 ====== ====== MySQL 資料庫 ======
   * 官網:http://www.mysql.com/   * 官網:http://www.mysql.com/
 +
 +===== MySQL Backup tools =====
 +  * [[http://www.backup2mail.com/|Backup2Mail]] is mini PHP application that creates regular backups of your MySQL database and sends it to configurable e-mail address. The whole process is scheduled with a help of Cron, a Unix program that runs programs at scheduled times.
 +
 ===== 密碼管理 ===== ===== 密碼管理 =====
 安裝 MySQL 後 root 管理者帳號預設是沒有密碼的,會有安全性問題 安裝 MySQL 後 root 管理者帳號預設是沒有密碼的,會有安全性問題
行 20: 行 24:
 init_connect='SET NAMES utf8' init_connect='SET NAMES utf8'
 </code> </code>
-===== phpMyAdmin 安裝 =====+===== phpMyAdmin ===== 
 +==== 安裝 ==== 
 +<code>
 複製 config.sample.inc.php 到 config.inc.php 複製 config.sample.inc.php 到 config.inc.php
  
-編輯 config.sample.inc.php 內容+編輯 config.inc.php 內容
  
 修改設定 $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ 修改設定 $cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
  
 +變更成 http 認證模式 $cfg['Servers'][$i]['auth_type'] = 'http';  
 +</code> 
 +==== 問題 ==== 
 +  - 無法讀取 mysql 模組,<br />請檢查 PHP 設定 
 +    * 安裝 php-mysql 解決 
 +  - 找不到 PHP 內的 mbstring 編碼模組, 沒有這個模組, phpMyAdmin 無法準確地分割雙字元文字, 而可能產生問題 
 +    * 安裝 php-mbstring 解決 
 +  - 設定檔案現在需要密碼 (passphrase) (blowfish_secret). 
 +    * 修改 config.inc.php 的 $cfg['blowfish_secret'] 解決 
 +  - 無法讀取 mcrypt 模組,<br />請檢查 PHP 設定 
 +     * 安裝 mcrypt module 參考 http://www.centos.org/modules/newbb/viewtopic.php?topic_id=6516
  
mysql.txt · 上一次變更: 2010/08/23 15:30 (外部編輯)