Issue #123 on hold

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

Anonymous created an issue

Hi,

I am running xampp v3.2.1 and in every page in the header I am getting this error:

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in C:\xampp\htdocs\openbiblio\classes\Query.php on line 36

Please let me kindly know how to solve this issue.

Thanks. Pedro

Comments (5)

  1. Hans van der Weij

    Thanks for the hint, Alex.

    I'd really like to escape from this issue, wouldn't it make sense to move development to obiblio-10-wip?

    Apart from that... did you use the conversion script? https://wikis.oracle.com/display/mysql/Converting+to+MySQLi I'm asking because I noticed several changesets related to converting to MySQLi in your repository.

    An additional issue is that 0.7.x search is really horrible in terms of performance, so I'm hesitating for any change. (I don't COUNT on anything when MySQL changes their software). Performance testing and optimizing queries for 0.7.1 was painful and I would really prefer to make substantial progress instead of retesting old rubbish.

  2. Alex Rayne

    Hallow Hans! 1) No, i converts to mysqli manualy, and yes it was a few changesets in progress of this work. ii must not be an complex work to fold them together. 2) i`ve noted about bad search perfomance too, but when i try to find out perfomance analisys of SQL queries - found that them executes very fast -about 100s ms, but overall search takes 1-2s. imho, this is caused by php engine perfomance, and php-sql transfers. imho it could be reduced by coupling a few sql-queries in one package-query, that can be done by mysqli engine.

  3. Log in to comment