还有Warning: mysql_connect(): Unknown MySQL Server Host 'virtualdb' (11001) in H:\Web\PHP\edayday\php\inc\dbfunc.php on line 18
解决方案 »
- 关于MYSQL批量更新和插入问题。
- 查询出每种水果在最大日期那天的销售量
- 执行show processlist时候,state是end代表什么意思
- mysql聚合查询
- 还求一多级查询的SQL设计思路,比如51job的高级搜索?
- 在window 2000 server 上安装mysql后,正常启动时初始化用户为:test密码为:test为什么在次登录的时候就不用密码也能登录为什么?60
- 怎样完成这样的排序?
- 推荐几本学习SQL Server的好书吧!
- 用前台编程语言(Delphi)怎样连接MySql数据库...
- 求教查询语句怎么写
- mysql有没有象sqlserver那样的图形化控制台?
- 数据库里的一个小问题^_^
session_start() are because you can not
echo/print any string if in the php file
you do something with http head. You
simply comment those echo/print lines
to debug.concerning the first mysql bug, you have
not connected to mysql. try the followed
code.$DbHost = "localhost";
$DbUser = "root";
$DbPassword = "";
$DbDatabase = "yourdb";
mysql_pconnect($DbHost,$DbUser,$DbPassword)
or die("Database access error. Please contact with the site administrator.");mysql_select_db($DbDatabase);$query1 = "SELECT * FROM mysql";
$result1 = mysql_query($query1);if you still get warnings, post them to here..good luck
出现这个出错信息时,通常是名为 'virtualdb' 计算机不存在于网络中
你确定有这个名的计算机在网络中正常运行着吗??