1
mirror of https://github.com/jakejarvis/spoons.git synced 2025-06-29 07:55:40 -04:00

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

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"');