Fixing Deprecated: mysql_connect. ( noobies )

Results 1 to 5 of 5
  1. #1
    Member tenkirokun is offline
    MemberRank
    Jul 2008 Join Date
    79Posts

    config Fixing Deprecated: mysql_connect. ( noobies )

    Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in
    Getting that error?

    1) go into Config.php

    2) Type error_reporting(0); under session_start();

    3) You're welcome.


  2. #2
    very green greenelfx is offline
    MemberRank
    Jul 2011 Join Date
    1,323Posts

    Re: Fixing Deprecated: mysql_connect. ( noobies )

    Or...realize that mysql_* is deprecated, and you should be using PDO.
    The fact that most, if not all MS websites use mysql instead of PDO is downright embarrassing.

  3. #3
    Account Upgraded | Title Enabled! StripedCow is offline
    MemberRank
    Jun 2011 Join Date
    813Posts

    Re: Fixing Deprecated: mysql_connect. ( noobies )

    lol this is not a fix more like a solution to not display errors.

  4. #4
    I'm overrated. Fraysa is offline
    MemberRank
    Apr 2008 Join Date
    4,891Posts

    Re: Fixing Deprecated: mysql_connect. ( noobies )

    Quote Originally Posted by StripedCow View Post
    lol this is not a fix more like a solution to not display errors.
    200% agree

  5. #5
    Enthusiast Kittyjessika is offline
    MemberRank
    Feb 2015 Join Date
    36Posts

    Re: Fixing Deprecated: mysql_connect. ( noobies )

    You can also add @ before the equal, that seems to work as well.



Advertisement