forge.mysql.com — The MySQL ext/mysql Converter Tool does analyze you PHP source, searches for all ext/mysql expressions and replaces them with semantically identical ext/mysqli expressions. If all you have to do is to convert a few lines of code, it is a matter of minutes to upgrade your application from ext/mysql to ext/mysqli.