MySQL error

Results 1 to 5 of 5
  1. #1
    Novice Geheim is offline
    MemberRank
    Apr 2013 Join Date
    1Posts

    MySQL error

    Hey Ragezone,

    On a VPS, I make a Habbo Retro, buy i have a error on the top of me.php.

    This is the error:

    Deprecated: mysql_pconnect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\app\class.engine.php on line 48


    I want to continue to use mysql.

    How do I fix the error?

    Thanks,

    P.S. Sorry for my bad english.


  2. #2
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,608Posts

    Re: MySQL error

    error_reporting(0); in your config.

    Also here is the help section: Habbo Help - Habbo Development - RaGEZONE forums

  3. #3
    Account Upgraded | Title Enabled! Chapo is offline
    MemberRank
    Jul 2010 Join Date
    United StatesLocation
    944Posts

    Re: MySQL error

    You use a new php version, use a older one or use mysqli_connect instead of mysql_connect (Its better to use a mysqli class instead of mysqli_connect)

  4. #4
    Victus Mortuus Kreeate is offline
    LegendRank
    Aug 2010 Join Date
    2,367Posts

    Re: MySQL error

    #Thread moved

  5. #5
    Apprentice CodeTrinity is offline
    MemberRank
    Jan 2014 Join Date
    19Posts

    Re: MySQL error

    Quote Originally Posted by Ryan View Post
    You use a new php version, use a older one or use mysqli_connect instead of mysql_connect (Its better to use a mysqli class instead of mysqli_connect)
    How do you use mysqli_connect or a new version of PHP? I'm getting the same problem and I don't know how to fix.



Advertisement