|
|
|
|
![]() ![]() |
Jul 22 2005, 06:42 PM
Post
#1
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 86 Joined: 18-July 05 From: Lithuania Member No.: 9,570 |
Hi moderators
What must I type here in php script mysql_connect("localhost", "sader","***"); ***-my forum password (the same password is and for host account) I CANT connect So what is my host,user,pass |
|
|
|
Jul 22 2005, 08:31 PM
Post
#2
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 283 Joined: 10-October 04 Member No.: 1,637 |
|
|
|
|
Jul 22 2005, 10:00 PM
Post
#3
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 86 Joined: 18-July 05 From: Lithuania Member No.: 9,570 |
QUOTE(badinfluence @ Jul 22 2005, 10:31 PM) Thanxs for your replay those articles realy helped me finaly I connected to database and my guest book worked thanks again |
|
|
|
Jul 22 2005, 10:34 PM
Post
#4
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 86 Joined: 18-July 05 From: Lithuania Member No.: 9,570 |
O no it looks I still have problem.
Ye my guestbook now reads data but when I am trying to make post into my guestbook (via submit button on form) I am getting this error Warning: mysql_connect(): Access denied for user: 'root@xx.xx.xxx.xx (Using password: YES) in /home/sader/public_html/g_book.php on line 367 Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/sader/public_html/g_book.php on line 368 Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /home/sader/public_html/g_book.php on line 372 I made accses host "%" but it didn't solve problem so what I am doing wrong |
|
|
|
Jul 22 2005, 11:04 PM
Post
#5
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 86 Joined: 18-July 05 From: Lithuania Member No.: 9,570 |
Problem fixed
|
|
|
|
Jul 23 2005, 01:00 AM
Post
#6
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 283 Joined: 10-October 04 Member No.: 1,637 |
QUOTE(sader @ Jul 23 2005, 07:34 AM) Warning: mysql_connect(): Access denied for user: 'root@xx.xx.xxx.xx (Using password: YES) in /home/sader/public_html/g_book.php on line 367 probably you didnt set the permission on db_user to respected db. anyway you solved the problem and glad that the script is running. one of the mod will close the topic. one last, google it |
|
|
|
Jul 23 2005, 10:00 AM
Post
#7
|
|
|
Member [Level 2] ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 86 Joined: 18-July 05 From: Lithuania Member No.: 9,570 |
QUOTE(badinfluence @ Jul 23 2005, 03:00 AM) probably you didnt set the permission on db_user to respected db. Actualy that and was my problem. Tnx again |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 13th October 2008 - 06:43 AM |