Author |
Message |
04/06/2004 23:03:07
|
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?
|
|
05/06/2004 01:03:42
|
Auron
Expert
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) |
|
05/06/2004 01:12:12
|
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?
|
|
05/06/2004 01:36:50
|
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
|
|
05/06/2004 04:16:50
|
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
|
|
19/06/2004 04:17:06
|
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.
|
|
19/06/2004 16:55:50
|
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 |
|
|