Mysql 管理工具Phpmyadmin配置
在網上看到Mysql資料庫的B/S管理工具phpmyadmin,就想看看怎麼用。到網上下載相關軟體和資料,然後開始了折騰,最後發現網上的資料,都是根據自己需要,把自己經驗總結一下,看起來雖然很好,參考起來比較艱難,在經過了多次百度谷歌後,把自己配置的經驗放在這裡,供自己日後參考。
首先需要的軟體及下載地址:
PHP VC9 x86 Thread Safe 軟體: 下載執行緒安全版;
Apache 軟體:
phpmyadmin軟體:
Mysql軟體:
其次始軟體的安裝。
一、安裝Appache,安裝到Servers Information 時,需要輸入郵箱地址,方可繼續安裝;
二、安裝PHP;
三、安裝phpmyadmin;
四、安裝Mysql;
然後開始配置:
一、appache的配置httpd.conf
監聽埠及PHPIni軟體目錄:
Listen 8888
PHPIniDir "D:/php" -------實驗機上的php軟體解壓到D盤的PHP目錄下;
PHPIniDir "D:/php" -------實驗機上的php軟體解壓到D盤的PHP目錄下;
phpmyadmin虛擬目錄:
DocumentRoot "D:/Program Files/Apache Software Foundation/Apache2.2/htdocs"-------實驗機上的phpmyadmin網站放此目錄下;
支援網頁檔案的格式:
DirectoryIndex main.php index.php index.html
新增PHP檔案的模組:
LoadModule php5_module "D:/php/php5apache2_2.dll"--------實驗機上的php放在此目錄下;
新增檔案解析格式:
AddType application/x-gzip .tgz
AddType application/x-httpd-php .php .phtml .php3 .php4 .php5 .phpt
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .txt
AddType application/x-httpd-php .html
AddType application/x-httpd-php .php .phtml .php3 .php4 .php5 .phpt
AddType application/x-httpd-php-source .phps
AddType application/x-httpd-php .txt
AddType application/x-httpd-php .html
更改完後,重新啟動appache伺服器;
二、PHP配置(把php.ini-development改為php.ini)
新增擴充套件類庫:
extension_dir="D:\php\ext"
extension=modulename.extension
extension=modulename.extension
去掉類庫的註釋:
extension=php_bz2.dll
extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_gmp.dll
extension=php_intl.dll
extension=php_imap.dll
extension=php_interbase.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_exif.dll ; Must be after mbstring as it depends on it
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client
extension=php_openssl.dll
extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_pspell.dll
extension=php_shmop.dll
extension=php_curl.dll
extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
extension=php_gmp.dll
extension=php_intl.dll
extension=php_imap.dll
extension=php_interbase.dll
extension=php_ldap.dll
extension=php_mbstring.dll
extension=php_exif.dll ; Must be after mbstring as it depends on it
extension=php_mysql.dll
extension=php_mysqli.dll
extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client
extension=php_openssl.dll
extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
extension=php_pdo_oci.dll
extension=php_pdo_odbc.dll
extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
extension=php_pgsql.dll
extension=php_pspell.dll
extension=php_shmop.dll
; The MIBS data available in the PHP distribution must be installed.
; See
extension=php_snmp.dll
; See
extension=php_snmp.dll
extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite3.dll
extension=php_sybase_ct.dll
extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
extension=php_zip.dll
extension=php_sockets.dll
extension=php_sqlite3.dll
extension=php_sybase_ct.dll
extension=php_tidy.dll
extension=php_xmlrpc.dll
extension=php_xsl.dll
extension=php_zip.dll
啟用對檔案格式支援:
short_open_tag = On
; Allow ASP-style. tags.
;
asp_tags = On
;
asp_tags = On
更改日期格式:
[Date]
; Defines the default timezone used by the date functions
;
date.timezone =prc
; Defines the default timezone used by the date functions
;
date.timezone =prc
三、phpmyadmin配置(把config.sample.inc.php更改為config.inc.php)
/*
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = '198228'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ ------更改對cookie 的認證
* This is needed for cookie based authentication to encrypt password in
* cookie
*/
$cfg['blowfish_secret'] = '198228'; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */ ------更改對cookie 的認證
/* User used to manipulate with storage */
$cfg['Servers'][$i]['controluser'] = 'root';-------安裝Mysql的時候設定的使用者名稱
$cfg['Servers'][$i]['controlpass'] = 'root';------安裝Mysql的時候設定的密碼
$cfg['Servers'][$i]['controluser'] = 'root';-------安裝Mysql的時候設定的使用者名稱
$cfg['Servers'][$i]['controlpass'] = 'root';------安裝Mysql的時候設定的密碼
最後輸入,開啟網頁,能進行登入即可。8888是監聽埠。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/22275400/viewspace-740623/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- phpMyAdmin 4.3.5 釋出,MySQL 管理工具PHPMySql
- phpMyAdmin 4.3.3 釋出,MySQL 管理工具PHPMySql
- phpMyAdmin 4.3.1 釋出,MySQL 管理工具PHPMySql
- phpMyAdmin 4.4.1 釋出,MySQL 管理工具PHPMySql
- phpMyAdmin-4.3.9 釋出,MySQL 管理工具PHPMySql
- 修改phpmyadmin配置mysql埠號PHPMySql
- Windows+Apache+PHP+MySQL+PHPMyadmin的配置WindowsApachePHPMySql
- IIS+PHP+MySQL+ZendOptimizer+GD庫+phpMyAdmin安裝配置PHPMySql
- 資料庫 之 管理工具 phpMyadmin資料庫PHP
- 關於 phpMyAdmin 管理 Homestead MySQL 資料庫的配置PHPMySql資料庫
- phpMyadmin配置檔案修改PHP
- VertrigoServ2.21配置phpmyadminGoPHP
- Apache+PHP5+MySQL4(5)+PHPMyAdmin 的簡易安裝配置ApachePHPMySql
- 安裝與配置MySQL,phpmyAdmin;安裝與測試PHPLIB (轉)MySqlPHP
- 使用 phpMyAdmin 管理多臺 MySQLPHPMySql
- Docker phpmyadmin 連線mysql容器DockerPHPMySql
- PHP、MySQL、phpmyadmin的安裝PHPMySql
- Linux 7安裝和配置phpmyadminLinuxPHP
- 【Mysql】MySQL管理工具MySQL UtilitiesMySql
- 搭建lamp環境以及安裝配置phpmyadminLAMPPHP
- 安裝phpMyAdmin來管理Mysql資料庫PHPMySql資料庫
- WINXP下安裝Apache,PHP,MySQL,phpMyAdmin薦ApachePHPMySql
- Windows環境下phpMyAdmin的安裝配置方法WindowsPHP
- apache2.2+PHP5.2.3+mysql5.0+gd+zend+phpmyadminApachePHPMySql
- centos6.4+nginx+mysql+php+phpmyadmin整合過程CentOSNginxMySqlPHP
- mysql使用phpmyadmin批次替換資料sql語句MySqlPHP
- Linux/Centos安裝Litespeed+PHP+MYSQL+PHPMYADMIN教程LinuxCentOSPHPMySql
- mysql實現遠端訪問,phpmyadmin實現遠端連線mysqlMySqlPHP
- phpMyAdmin配置檔案中的密文(blowfish_secret)太短PHP
- 用ports安硯apache13_modssl+mysql+php+phpmyadmin(轉)ApacheMySqlPHP
- debian + apache2 + php4 +mysql +phpmyadmin + mt(轉)ApachePHPMySql
- phpmyadmin配製連線mysql時出現錯誤(轉)PHPMySql
- phpmyadmin mysql8 加密方式 caching_sha2_passwordPHPMySql加密
- MySQL 視覺化管理工具MySql視覺化
- MySQL常用圖形管理工具MySql
- mac os x中安裝mysql+phpmyadmin的方法記錄MacMySqlPHP
- 紅旗5.0下apache+php+mysql+phpMyAdmin全攻略(轉)ApachePHPMySql
- phpMyAdmin安裝PHP