If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Guestbook setup  XML
Forum Index » Support Forum
Author Message
Anonymous



I have the Advanced Guestbook on my server and have changed the permissions for public and tmp to 777

My config.inc.php has been edited and looks like:
<?php
/* database settings */

$GB_DB["dbName"] = "czechcenter";
$GB_DB["host"] = "localhost";
$GB_DB["user"] = "czechc";
$GB_DB["pass"] = "czech2003";
etc, etc....

When I run install.php I get an error msg
"Cannot connect to database"

I have logged in using the default account test/123 and
my account czechc/czech2003....
both with the same results

What am I doing wrong here?
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

make sure you create the db before you install.
also blank out your MySQL username and password with '*' - VERY IMPORTANT SECURITY ISSUE!

- Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



I am confused.
The documentation says just run www.mydomain/guestbook/install.php
What sets up the database you mention?
Is there a "secret" step I am missing?
Anonymous



Cannot connect to database
--------------------------------------------------------------------------------

MySQL Error : Cannot connect to database
Error Number: 1045 Access denied for user: 'test@localhost' (Using password: YES)

While trying to create a DB
Anonymous



Frank Smith wrote:I am confused.
The documentation says just run www.mydomain/guestbook/install.php
What sets up the database you mention?
Is there a "secret" step I am missing?


yes, you must manually create the database you want the guestbook to connect to


Jeff

trekker9876@sasktel.net
Anonymous



No, you don't have to create the database manually. The install file will do it along with the tables. But you have to create a user in MySQL and then make sure you have it correct in the config.inc.php file... I had this problem also. I had to make sure I used the given name for our server and also the username. the same with the database name.. for instance
"servername_gbook1" where gbook1 is the database name and the username I had to use "servername_username" Hope this helps, took me a couple of days to figure it out.
JTD
Graduate

Joined: 08/05/2004 21:52:50
Messages: 529
Location: Arkansas
Offline

Thats why I so love my host. They offer a variety of different programs you can install. Guestbook being one of them. Simply click a button in my host cpanel and wallaw its installed.

LINK-> Use Lazarus Guestbook
[WWW] [Yahoo!] aim icon [MSN]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum