IIS 环境下配置PHP5+MySql+PHPMyAdmin

2019-10-16 20:41:17刘景俊

$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扩展
$cfg['Servers'][$i]['compress']      = FALSE;       // Use compressed protocol for the MySQL connection
$cfg['Servers'][$i]['controluser']   = '';          // MySQL control user settings
                                                    // (this user must have read-only
$cfg['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';    // 身份验证方式(config, http or cookie based)
$cfg['Servers'][$i]['user']          = 'root';      // 用户名,这里使用root
$cfg['Servers'][$i]['password']      = '';          // 密码,第一次使用,也留空,以后更改mysql的root密码以后,再修改