Home > Database > Mysql Tutorial > body text

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

WBOY
Release: 2016-06-01 14:04:59
Original
1008 people have browsed it

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);
}
即可
为我的疏忽向大家抱歉

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!