Need Help

Discussion in 'Programming' started by shravandude, Jul 31, 2009.

  1. #1
    Hi all i have bought a hosting and domain. I am having problem in installing the script, it was showing an error in conneting php to sql. .. If any one can solve it plz PM me.

    I need help i cannot effort to pay .
     
    shravandude, Jul 31, 2009 IP
  2. anhbloginc

    anhbloginc Well-Known Member

    Messages:
    1,288
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    175
    #2
    Which error exactly you got ? Just simple paste in here , so we can help .
     
    anhbloginc, Jul 31, 2009 IP
  3. Mabersoft

    Mabersoft Peon

    Messages:
    360
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What script are you using?
     
    Mabersoft, Jul 31, 2009 IP
  4. kunnusingh

    kunnusingh Well-Known Member

    Messages:
    656
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    145
    #4
    yeh! i know how to fix. i think check your mysql username and password.

    use correct sql username and password. its a very simple. if other problem is occur then please check your script.

    do not use any warez script
     
    kunnusingh, Jul 31, 2009 IP
  5. shravandude

    shravandude Active Member

    Messages:
    340
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    This is the error i have got... I got the automatic code generated for connecting php to sql from the cpanel i have replaced the spaces with the user name and pass and executed in mysql. If any one could help me do reply .
     

    Attached Files:

    shravandude, Jul 31, 2009 IP
  6. shravandude

    shravandude Active Member

    Messages:
    340
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #6
    Is there no one to sort out my problem....
     
    shravandude, Jul 31, 2009 IP
  7. JV_Nick

    JV_Nick Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    what is the specific error ,you can paste here so we can know it
     
    JV_Nick, Jul 31, 2009 IP
  8. garysims

    garysims Well-Known Member

    Messages:
    287
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    108
    #8
    Have you checked the MySQL user name and password as was mentioned previously?

    Thanks, Gary
     
    garysims, Jul 31, 2009 IP
  9. shravandude

    shravandude Active Member

    Messages:
    340
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #9
    nike I have pasted the error u can see the screen shot.

    garysims i have checked the user name and password every thing is fine.
     
    shravandude, Jul 31, 2009 IP
  10. garysims

    garysims Well-Known Member

    Messages:
    287
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    108
    #10
    Hi,

    OK, lets take a step back here... You have hosting yes... And I assume the hosting provides PHP and MySQL.

    Have you...

    Created the relevant database?

    Added the user to have access to that database?

    Run the configuration script or edited the configuration file for your program so that it knows the username, password, host and database name.

    What is the script you are running? Is it a custom script or something popular like Wordpres etc.

    Thanks, Gary
     
    garysims, Jul 31, 2009 IP
  11. shravandude

    shravandude Active Member

    Messages:
    340
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #11
    Thnx garysims thnx for helping me out. U have done the work with in seconds . U r work is really awsome.
     
    shravandude, Aug 1, 2009 IP
  12. garysims

    garysims Well-Known Member

    Messages:
    287
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    108
    #12
    shravandude,

    It was a pleasure... I wish you lots of success with your site...

    Thanks, Gary
    PS. For those interested it was the username/password/dbserver which was incorrect in the configuration file.
     
    garysims, Aug 1, 2009 IP