Just grabbed the latest 2.1.2 version with all the php5 improvements that I really appreciate.
Run into a problem when installing using the MySQL5 driver and mysqli
The mysqli constructor
- Code: Select all
mysqli::__construct ([ string $host = ini_get("mysqli.default_host") [, string $username = ini_get("mysqli.default_user") [, string $passwd = ini_get("mysqli.default_pw") [, string $dbname = "" [, int $port = ini_get("mysqli.default_port") [, string $socket = ini_get("mysqli.default_socket") ]]]]]] )
expects the port number to be the 5th parameter and unlike PDO it won't read it off the hostname string.
So if you are not running DB on default port you won't be able to connect.
Could do with adding the port to the config or just by parsing the hostname better.
edit:
Another thing noticed. When supplied custom names/prefixes for the generated wurfl tables the SPs are still created using the predefined values.
This is visible in 437 TeraWurfl_MySQL5.php in method public function createProcedures(){ where first procedure is created using config but the second procedure is using hardcoded table names