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-02-25 08:37:06
From:   weckenmc
I just read your article on PHP connect to mySQL database.


// Connect to the server at hostname using the specified port
$server = 'hostname:port'


I need to connect from my Windows app w/JDBC to the mySQL server on a Unix platform across the net. In your connect statement above, how do I get the port value?


Any insights is very much appreciated!
Thanks,
Cristl


1 to 1 of 1
  1. JDBC Connecting to mySQL server at Unix
    2004-05-07 17:11:16  Seigo [View]

1 to 1 of 1