Revert from mysqli to mysql library :(

mysqli is not available in production. 
Explicit `$conn` argument again would make me feel better.