1. shift + 右键选择bin文件夹,选择在此处打开命令窗口(弹出mysql的命令窗口), mysql -u root -p,-help,导入数据库命令:\. F:\yuns.sql (路径\文件)
2. 从登录界面进入apache配置文件httpd.conf 查找vhost 得到 # Virtual hostsInclude conf/extra/httpd-vhosts.conf,即可知道域名位置在 apache下的conf文件下打开httpd-vhosts.conf文件 配置域名
3.xampp\apache\conf\httpd.conf 需要把override改为 all (并把下面的一行 Require all denied 渠道)
同时搜索vhost<Directory />
AllowOverride all
</Directory>
4.E:\xampp\apache\conf\extra\httpd-vhosts.conf
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "E:\code\trunk\abwSite"
ServerName ttq.my.com
</VirtualHost>
5.C:\Windows\System32\drivers\etc\HOSTS
127.0.0.1 ttq.my.com
6. phpAdmin文件下config.inc.php有这个文件更改 $cfg['Servers'][$i]['auth_type'] = 'config'; 值改为cookie 即$cfg['Servers'][$i]['auth_type'] = 'cookie';
3. phpAdmin文件下config.inc.php有这个文件更改 $cfg['Servers'][$i]['auth_type'] = 'config'; 值改为cookie 即$cfg['Servers'][$i]['auth_type'] = 'cookie';