in contrast to mysql_connect, it is not allowed to attach the port or the socket to the host name for the mysqli_connect command. There are separate parameters for that now. This leads to "Access denied for user 'user123'@'localhost' (using password: NO) " errors in the current version if port or socket is specified
This commit converts all mysql_* function to the appropriate counterparts
in mysqli.
I used this tool for most of it:
https://github.com/philip/MySQLConverterTool
This makes it possible to continue using MysqlDumper with PHP 7.0