Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Mysql_connect Problem, Can't find what I must to type
sader
post 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 sad.gif
So what is my host,user,pass
Go to the top of the page
 
+Quote Post
badinfluence
post Jul 22 2005, 08:31 PM
Post #2


Super Member
*********

Group: Members
Posts: 283
Joined: 10-October 04
Member No.: 1,637



check this or admin note...

see whether the problem still exit or not. smile.gif
Go to the top of the page
 
+Quote Post
sader
post 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)
check this or  admin note...

see whether the problem still exit or not.  smile.gif
*


Thanxs for your replay those articles realy helped me
finaly I connected to database and my guest book worked smile.gifsmile.gifsmile.gif

thanks again
Go to the top of the page
 
+Quote Post
sader
post 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
Go to the top of the page
 
+Quote Post
sader
post 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 biggrin.gif
Go to the top of the page
 
+Quote Post
badinfluence
post 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 wink.gif
Go to the top of the page
 
+Quote Post
sader
post 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 smile.gif
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Cpanel Down(7)
  2. Billing Problem. Plz Help(2)
  3. Problem With My Pc(2)
  4. Problem Concerning Credits Reduced(12)
  5. Problem With Hosting(4)
  6. Need Advice On Setting Up Mysql Database.(4)
  7. Flex Error #1034: Type Coercion Failed: Cannot Convert Mx.managers(1)
  8. Firefox 3 Cookies Problem(4)
  9. What Is My (power) Problem?(4)
  10. Quick Question(10)
  11. Did You Face Problem Opening Pdf With Firefox?(15)
  12. Attachment Problem In Pmwiki(0)
  13. Pop-up Virus / Trojan Problem(10)
  14. Problem With The Trap17 Forum(4)
  15. Mysql Database Size(7)
  1. Mysql Hacks(1)
  2. Remote Assistance Problem(9)
  3. Counter Strike Problem(2)
  4. Laptop Keyboard Problem(8)
  5. Upload Component - Failed(6)
  6. Hosting Credits Problem? [resolved](9)
  7. Fave Type Of Music?(28)
  8. Import From Excel File Into Mysql Database(11)
  9. Dandruff Problem(29)
  10. Open Any Unknown File Type With Notepad(1)
  11. Creating A Php Login System Using Mysql(10)
  12. 60 Seconds Countdown That Shutdown The Pc(15)
  13. Mysql Database Not Working(3)
  14. Sharing Files And Printer Between Windows Vista And Xp(9)
  15. Problem Installing Sims 2 Nightlife(26)


 



- Lo-Fi Version Time is now: 13th October 2008 - 06:43 AM