Fixed bug where $db_port was being ignored in the upgrade process.    See SF Support Requests #365

git-svn-id: http://svn.code.sf.net/p/mrbs/code/mrbs/trunk@2786 25f7e783-145e-4f2d-a9f8-dd7182bfe9c7
Make sql_connect() take an optional port parameter.



git-svn-id: http://svn.code.sf.net/p/mrbs/code/mrbs/trunk@2787 25f7e783-145e-4f2d-a9f8-dd7182bfe9c7
Added passing of $db_port to sql_connect() call in convert_db_to_utf8.
See [support-requests:#365].



git-svn-id: http://svn.code.sf.net/p/mrbs/code/mrbs/trunk@2788 25f7e783-145e-4f2d-a9f8-dd7182bfe9c7