[SOLVED] guestbook
Moderator: General Moderators
guestbook
hello buddies
I have a guest book program
http://saispace.shyper.com/guest.zip
I have done everything as in the instruction and created a database and this is my config file.
$hostname ="saispace.shyper.com";
$database ="saispace_guest";
$db_login ="saispace_sai";
$db_pass = "xxxx";
$ad_login = "saispace_sai";
$ad_pass = "xxxx";
$line_num = 10;
?>
but when i execute the http://saispace.shyper.com/guest/install.php
it is not able to connect to the database.
y is tat happening.
any kind of help will be great..
urs
sai
I have a guest book program
http://saispace.shyper.com/guest.zip
I have done everything as in the instruction and created a database and this is my config file.
$hostname ="saispace.shyper.com";
$database ="saispace_guest";
$db_login ="saispace_sai";
$db_pass = "xxxx";
$ad_login = "saispace_sai";
$ad_pass = "xxxx";
$line_num = 10;
?>
but when i execute the http://saispace.shyper.com/guest/install.php
it is not able to connect to the database.
y is tat happening.
any kind of help will be great..
urs
sai
Last edited by sayee3k1 on Sun Aug 29, 2004 9:03 pm, edited 1 time in total.
Not much more to it than that really, the user doesn't have access to the database using that password. So check that user has permissions to access that database using that password. Might just need to use $hostname ='localhost';Access denied for user: 'saispace_sai@bobcat.shyper.com' (Using password: YES)
Last edited by markl999 on Sun Aug 29, 2004 9:02 pm, edited 1 time in total.
Thanks
helllo
Thanks for the replies.
I don't know y it says bobcat.shyper.com
y is tat happening
what i need to do.
the only thing i did is to MySQL Account Maintenance and created the database
saispace_guest
and then added the username saispace_sai and password.
The Cpanel is same as the other cpanel in other hosting companies.
Sai
Thanks for the replies.
I don't know y it says bobcat.shyper.com
y is tat happening
what i need to do.
the only thing i did is to MySQL Account Maintenance and created the database
saispace_guest
and then added the username saispace_sai and password.
The Cpanel is same as the other cpanel in other hosting companies.
Sai
Cool
Hello Mark
Thanks !!!
you made tat so simple.
One last problem
when i executed the install.php ..... it got the connection but it was not able to create the database.
I have already created the database saispace_guest.
so i went ahead in phpMyadmin and created the table guest_book as in the install.php
but now when i submit the form I am not able to able to connect to the database to insert the records.
pls bear with my trival question I am new to Mysql.
Thanks
Sai
Thanks !!!
you made tat so simple.
One last problem
when i executed the install.php ..... it got the connection but it was not able to create the database.
I have already created the database saispace_guest.
so i went ahead in phpMyadmin and created the table guest_book as in the install.php
but now when i submit the form I am not able to able to connect to the database to insert the records.
pls bear with my trival question I am new to Mysql.
Thanks
Sai
one step more
hey mark
How u r able to make entries.
I am still not able to do tat?
it is connected to the database but not able to insert the data.
hmmmmmmmm a bit confused
urs
sai
How u r able to make entries.
I am still not able to do tat?
it is connected to the database but not able to insert the data.
hmmmmmmmm a bit confused
urs
sai
Hey mark
You were great !!!!
Would u give me the honor by filling my guest book at
http://saispace.shyper.com/guest.php?page=gbook
Thanks
Sai
Would u give me the honor by filling my guest book at
http://saispace.shyper.com/guest.php?page=gbook
Thanks
Sai