1. Home > programming >

Configure PHP5+MySql+PHPMyAdmin in IIS environment

First explain the configuration environment:
Operating system: windows 2003 standard sp2
PHP version: 5.2.5
MySql version: 5
1. First, configure IIS and add New server extension
Mysql server name or ip address
$cfg['Servers'][$ i]['port'] =''; // MySQL service port, leave it blank here to use the default port
$cfg['Servers'][$i]['socket'] =''; // Path to the socket-leave blank for default socket
$cfg['Servers'][$i]['connect_type'] ='tcp'; // How to connect to MySQL server ('tcp' or'socket')
$cfg['Servers'][$i ]['extension'] ='mysql'; // mysql extension
$cfg['Servers'][$i]['compress'] = FALSE; // Use compressed protocol for the MySQL connection
$cfg['Servers'][$i]['controluser'] =''; // MySQL control user settings
​​​​​​​​​ ​​​​​ my MySQL control user settings
​​​​​​​​​​​​​​​ the​​​​​​​ my​​​​​​​​​ my​​​​​​​​​ my​​​​​​​​​​​​ my​​​​​​​​​​​​​​ the​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​ twenty six (( twenty six )) MySQL control user. [ 'Servers'] [$ i] [ 'controlpass'] = ''; // access to the "mysql / user"
// and "mysql / db" tables)
// The controluser is. also
// used for all relational
// features (pmadb)
$ cfg [ 'Servers'] [$ i] [ 'auth_type'] = 'config'; // authentication Method (config, http or COOKIE based)
$cfg['Servers'][$i]['user'] ='root'; // user name, here is root SPAN>
$cfg['Servers'][$i]['password'] =''; // < SPAN> password, the first time you use it, also leave it blank. After you change the mysql root password, you can modify it again.

After saving, if you can open the following page with a browser, just You can use phpmyadmin to manage mysql.

Content recommendation: free high-definition PNG material download

This article is published by www.internetweblist.com and does not represent the position of www.internetweblist.com/:http://www.internetweblist.com/programming/82404.html

Contact Us

Online consultation:click here to give a message