Home  >  Article  >  Database  >  “在phpMyAdmin使用用户口令登陆”补充_MySQL

“在phpMyAdmin使用用户口令登陆”补充_MySQL

WBOY
WBOYOriginal
2016-06-01 14:04:59967browse

phpmyadmin

重要注意:IIS5 + PHP + MYSQl 和 PWS + PHP + MYSQL环境请修改

 

由于调试时,我的机器在运行php的磁盘上有tmp目录,故没有发生意外,有网友来信说PWS环境下不能运行,原因是这样的,由于在windows系统下,可能在运行php的磁盘上没有tmp目录,从而运行时建立目录"/tmp/~userfile/"不可能成功,提示出错。你可以把全篇文章中的$userfiletmp="/tmp/~userfile/~tmp.inc";
改为
$userfiletmp="/tmp/~tmp.inc";
或在文件index0.php“if ($step==3) {”再下面一点修改以下语句
if (!file_exists(dirname($userfiletmp))) {
mkdir(dirname($userfiletmp), 0700);
}
成为
if (!file_exists("tmp")) {
mkdir("tmp"), 0700);
}
if (!file_exists(dirname($userfiletmp))) {
mkdir(dirname($userfiletmp), 0700);
}
即可
为我的疏忽向大家抱歉

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn