$25 Reward For Someone That Can Fix This Error On My PHP Based Site...

Discussion in 'PHP' started by abgamehelp, Jul 23, 2011.

  1. #1
    Hello,
    Ive just transfered hosting for my site - the url is - www.urlf.ly
    But now when you go on the site it has this error -

    "Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /hermes/bosweb/web171/b1714/ipg.urlfly/urlfly/inc/database.class.php on line 31
    Unable to connect to database"

    So i need this to be fixed so people can go on my site again... If your intrested in helping me fix this error for $25 contact me at: arran.rice@gmail.com

    The first person that says they can fix the error i will go with them and i only need 1 person to fix this so first come first served, I will pay on the completion of the error being fixed, Please dont reply in this forum!!!

    Send me a email at arran.rice@gmail.com
     
    abgamehelp, Jul 23, 2011 IP
  2. MarPlo

    MarPlo Member

    Messages:
    97
    Likes Received:
    2
    Best Answers:
    2
    Trophy Points:
    48
    #2
    Hy,
    The problem seems simple, you need to add the new data to connect to the new mysql database, like server_address , username, password, db_name. Ask the hosting administrator for the server_address , and probably the other data are set when you create the database in CPanel.
     
    MarPlo, Jul 23, 2011 IP
  3. suryawl

    suryawl Peon

    Messages:
    54
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    0
    #3
    check your email. i just send you an email about this problem
     
    suryawl, Jul 23, 2011 IP
  4. abgamehelp

    abgamehelp Peon

    Messages:
    297
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    site sorted now!
     
    abgamehelp, Jul 23, 2011 IP
  5. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #5
    Your handler file in top www root. is going to have a different username, password to the new hosts database. Either that or you dont have the folder at top level where it should be. and your scripts are LOOKING for it .

    example:
    calls for MySQL handler with all the database info and access ..is MISSING, the folder isnt there! ..where did it go?! is it at a lower level? is it not in the same place it USED to be at top level root like at the old site before you moved it?
    :p
     
    ezprint2008, Jul 25, 2011 IP