如若进入服务器是橙色没有变绿,可能是80端口占用问题,修改默认端口此文件在apache下的httpd.conf如下图
进入将80端口改成你喜欢的端口比如8080;
1.如果想通过黑窗口创建数据库的话可以点击如下的MySQL console进入命令窗口,进去默认没有密码,回车进入
2.进入phpMyAdmin的管理页面
如果这一步不成功可能是MySQL端口占用的问题,就需要修改mysql端口修改MySQL下的my.ini文件如下图
这里将所有的port=3306改为你喜欢的端口最好5000以上(ctr+f 直接全部修改)
然后找到D:\warmSever\wamp\apps\phpmyadmin4.1.14\\config.inc.php文件
$i++;
/* Authentication type */
$cfg['Servers'][$i]['verbose'] = 'localhost';//这里是设置phpMyAdmin服务器的名称
//$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'array';//这里设置phpMyAdmin登陆的用户民
$cfg['Servers'][$i]['password'] = 'array';//这里设置phpMyAdmin登陆的密码
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '8806';//设置在my.ini中配置的MySQL端口号,必须写不写是默认的3306,否则会拒绝访问
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
点击上图标记选项进入phpMyAdmin的管理页面,进入后点击用户,然后去创建用户,将原有的用户可添加密码