View Single Post
Old 12-29-2012, 03:34 AM   PM User | #3
coolumanga
Regular Coder

 
Join Date: Sep 2010
Posts: 106
Thanks: 6
Thanked 0 Times in 0 Posts
coolumanga is an unknown quantity at this point
Quote:
Originally Posted by Old Pedant View Post
Depends on *HOW* you are trying to connect.

Are you using PHP?

Or just a command line interface to MySQL?

Or what?

With old style PHP mysql_connect, your method should work.

With mysqli_connect, the port is specified separately.

With command line, you would use something like
Code:
mysql -uUSER -pPASSWORD -h120.1.1.1 -P443
So explain HOW you are trying to connect.

NOTE: Since 443 is probably a secure port, you may need to specify the --ssl option as well.

hear i`m going to use third party software navicat..

Ther in the navicat we have to give

Hostname /IP ADDRESS
Username
password

in there after giving ipaddress with port no it will give an error
coolumanga is offline   Reply With Quote