add port option for MySQL

This commit is contained in:
2013-05-19 12:45:21 -04:00
parent 29b665f27b
commit bb9cedaf49
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
<?php
mysql_connect($db_host, $db_user, $db_pass);
mysql_connect($db_host . ":" . $db_port, $db_user, $db_pass);
mysql_select_db($db_name);
mysql_query('SET time_zone = "America/New_York"');