SQL Port 3306

Status
Not open for further replies.

webgow79

New Member
Messages
12
Reaction score
0
Points
0
HI Guys,

I'm having problems accessing my database from my work place - I think my problem is my work place network has port 3306 blocked.

Is there any way I could get access to this through 3307 ?
From what I've read in on this forum - this is not possible - but maybe someone could confirm ?

On a separate note - does anyone know of an easy way to find out / confirm which of my ports are blocked and which are open ?

BTW: many thanks for your support up to now - I know some if my queries may be relatively simple - but, as I am new to this - I am doing my best to find the answers elsewhere before opening a support ticket.
 

DeadBattery

Community Support Team
Community Support
Messages
4,018
Reaction score
120
Points
0
Remote MySQL is disabled on free accounts so you can't access MySQL from anywhere but the server itself.
If it were enabled, you would have to use port 3306.
 

webgow79

New Member
Messages
12
Reaction score
0
Points
0
Thanks - sorry if this is a double post -
I must have another problem so.. I'm not trying to access remotely.

below is my script :
<?php
$con = mysql_connect("www.agritest.x10.bz:3306","gowenx10_root","admin");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}

// some code
?>

But I get the following error:

Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/gowenx10/public_html/index.php on line 2
Could not connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 111
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
use "localhost" instead of "www.agritest.x10.bz:3306"
 

webgow79

New Member
Messages
12
Reaction score
0
Points
0
Have the following error now :

Not sure if this isa username password problem - but I've double checked them ???


Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'gowenx10_root'@'10.33.248.77' (using password: YES) in /home/gowenx10/public_html/index.php on line 2
Could not connect: Access denied for user 'gowenx10_root'@'10.33.248.77' (using password: YES)
 

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Give me link where you are getting is error.
Edit:
gowenx10_root user is not there in cPanel.
 
Last edited:

Zubair

Community Leader
Community Support
Messages
8,766
Reaction score
305
Points
83
Since Your problem is resolved Now. I am going to close this thread to mark it as resolved. re-open it if you need more help.
***Thread Closed***
 
Status
Not open for further replies.
Top