3007 posts
  • Exclusive Author
  • Beta Tester
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 1 and 100 dollars
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • United States
TNL3542 says

hey guys im racking my brain here i know how to set up a database.. and install a php script i have used this script before.. nothing has changed as far as installing it and setting it up.. well for the past few days ive had nothing but problems.. ive called my webhosting company and they said eveything is fine on their end.. i keep getting this freaking error that says cannot connect to database

and they said somthing about finding the path of the connection string

548 posts Themes and Graphics
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 100 and 499 items
  • Elite Author
  • Envato Studio (Microlancer) Beta Tester
  • Europe
  • Exclusive Author
+4 more
Bebel says

i keep getting this freaking error that says cannot connect to database

well if you get that freaking error, you should try something else…

It’d be nice to give us the error message.. Most of us here in the forums are good – really good – but we still cannot see something that is not here. :)

It can either be: wrong connection data – try to look them up - wrong port? - wrong host? - wrong user / database / password?

what script? etc..

3007 posts
  • Exclusive Author
  • Beta Tester
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 1 and 100 dollars
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • United States
TNL3542 says

here is a screen shot of my database i set up \\

and im trying to install this software.. its a chat room software

keep on getting error saying cannot connect to database.. and ive done this over and over and over several times

81 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
Fynn says

hehe Perfectedward.. isn’t that that Twilight dude? :P

Edit: I don’t think you’re query syntax is correct.. I have to go now though. Maybe someone can check it out for you.

1731 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
gbs says

I’m not sure if the $hostname value (as in the image) is right.

And did you change $password , $usertable , $yourfield before saving the config file?

3007 posts
  • Exclusive Author
  • Beta Tester
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 1 and 100 dollars
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • United States
TNL3542 says

can u check it out for me?

409 posts
  • Exclusive Author
  • Has been a member for 4-5 years
  • India
Dhruv says

Hey,

I can help you out, contact me through my profile :)

Edit : You’ll have to provide your login info such that i can check it out myself.

409 posts
  • Exclusive Author
  • Has been a member for 4-5 years
  • India
Dhruv says

hehe Perfectedward.. isn’t that that Twilight dude? :P Edit: I don’t think you’re query syntax is correct.. I have to go now though. Maybe someone can check it out for you.

That’s just a demo syntax provided by GoDaddy for reference and the same cannot be used.

3007 posts
  • Exclusive Author
  • Beta Tester
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 1 and 100 dollars
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • United States
TNL3542 says

message sent

1731 posts
  • Envato Studio (Microlancer) Beta Tester
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
gbs says

can u check it out for me?

If the problem still remains, drop me an email, I’ll see what I can help :)

Good luck to you.

by
by
by
by
by
by