to$adb = new db($dbhost, $dbuser, $dbpass, $databasename);
where 3306 is your port name and /tmp/mysql5.sock is the socket (these values are specific to your host).$adb = new db($dbhost, $dbuser, $dbpass, $databasename, 3306, '/tmp/mysql5.sock');
Rating:
Submitted: 12/05/07
Description: What to do on an unusual host which doesn't handle port and socket properly automatically.
Views:
252 views. Averaging 1 per day.
In the most recent 30 day period, there've been 1 views.