Jump to content


Photo

Database Error,... HELP plz....


  • Please log in to reply
1 reply to this topic

#1 sharif888uk

sharif888uk
  • New Members
  • Pip
  • Newbie
  • 1 posts
  • Locationuk

Posted 14 August 2003 - 12:52 PM

i installed new php guestbook when ever i go there it always say Database Error ..

I have MySQL.
plz visit that link below.

Link: http://members.lycos...888uk/guestbook

plz help...[/b]

#2 shivabharat

shivabharat
  • Members
  • PipPipPip
  • Advanced Member
  • 371 posts
  • LocationChennai, India

Posted 14 August 2003 - 01:00 PM

MySQL Error : Database Error
Error Number: 1046 No Database Selected
Date : Thu, August 14, 2003 14:58:15
IP : 212.78.204.27
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Referer : http://members.lycos...88uk/guestbook/
PHP Version : 4.3.2
OS : Linux
Server : Apache/1.3.27 (Unix)
Server Name : members.lycos.co.uk


The above description says it all

Ensure in your code that you have something like this

$db = mysql_connect("localhost", "admin","admin");mysql_select_db("dbname",$db);

Provide your database name in the \"dbname\".
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users