ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Using MySQL from PHP
Subject:   JDBC Connecting to mySQL server at Unix
Date:   2004-05-07 17:11:16
From:   Seigo
Response to: JDBC Connecting to mySQL server at Unix

The default value of mysql port is 3306.
So you can use 'hostname:3306'.