C:\php\ext\php_mysql.dll
c:\php\ext\php_mysqli.dll
拷贝到C:\windows\system32下
重起apache,php5就支持mysql了
3)phpmyadmin的配置
编辑phpMyAdmin目录下的config.inc.php,加入root的密码
$cfg['Servers'][$i]['auth_type'] = 'config'; // Authentication method (config, http or cookie based)?
$cfg['Servers'][$i]['user'] = 'root'; // MySQL user
$cfg['Servers'][$i]['password'] = 'xxxxxx'; // MySQL password (only needed
保存,用浏览器打开http:\\localhost\phpmyadmin\index.php,完成对mysql数据库的操作