Chi Kien Uong
Geranienstraße 30
71034 Böblingen
Deutschland / Germany
|
If you are not registered or logged in, you may still use these forums but with limited features.
Show recent topics
|
|
|
Author |
Message |
09/05/2002 22:30:40
|
Anonymous
|
I get the following error when I try to set up the guestbook.
For "Your database" I typed "guestbook", for my sqlhost I typed my website address "mysite.com", for "Your Mysql Name" I typed "test" and for "Your Mysql password" I typed 123. The error I get is:
Cannot connect to database
--------------------------------------------------------------------------------
MySQL Error : Cannot connect to database
Error Number: 1045 Access denied for user: 'test@66.40.227.62' (Using password: YES)
Date : Thu, May 9, 2002 16:23:12
IP : 24.207.12.46
Browser : Mozilla/4.0 (compatible; MSIE 5.5; Windows 9
Referer : http://www.mysite.com/guestbook/install.php
PHP Version : 4.1.2
OS : BSD/OS
Server : Apache/1.3.23 (Unix) PHP/4.1.2 FrontPage/4.0.4.3
|
|
10/05/2002 07:23:33
|
Anonymous
|
Hey Mark....I see now.....after writing you 2 letters....I came to this forum and see your problem.
<?php
/* database settings */
$GB_DB["dbName"] = "***";
$GB_DB["host"] = "***";
$GB_DB["user"] = "***";
$GB_DB["pass"] = "***";
Ok....you first must have PHP support AND a MySQL account.
For MySQL account...you should have a "database name", your "hostname" (usually 'localhost'), "username", and the "password" for your database.
The username is not "test"....the "password is not "123" for your database. "test" and "123" is just for the guestbook administrator once you get your guestbook to work.
[/b]
|
|
|
|
|
|
Based on the open source JForum
|