Re: Cannot connect to server

2006-03-14 Thread James E Hicks III

Sara Woglom wrote:


Thanks Shawn!!

 


You should be thanking Mladen Adamovic for pointing you to:

http://dev.mysql.com/doc/mysql/en/grant.html

This page holds your answer. From the error message you got

Telnet to port 3306: Host 'my-machine-name' is not allowed to connect to 
this MySQL server


you can be assured that you made a connection to the MySQL server. The 
problem is the MySQL server doesn't think you should be allowed to 
connect. I'm sure if you read the page linked above you will be able to 
persuade your MySQL server into allowing you to connect to it.


James



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Cannot connect to server

2006-03-10 Thread Sara Woglom
Thanks Shawn!!

Here is some more pertinent information:
*  The server is running on Windows 2003 Server SP-1

*  There is no switch between me and the server

*  I don't know the firewall program, and don't really know how to find out;
I checked Program Files and running processes but nothing jumps out at me

*  I CAN tell you that I cannot open Windows Firewall -- I get an error
message saying, "Windows Firewall cannot run because another program or
service is running that might use the network address translation component
(Ipnan.sys)."  From my web research, I think the other "program or service"
is remote access/VPN, which obviously I can't just disable

*  Since I can't get into Windows Firewall, I don't know how else to open up
port 3306

Hopefully this information will allow someone out there to better guide me.
Appreciate any help!





-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 10, 2006 1:08 PM
To: Sara Woglom
Cc: mysql@lists.mysql.com
Subject: Re: Cannot connect to server


"Sara Woglom" <[EMAIL PROTECTED]> wrote on 03/10/2006 11:54:03 AM:

> I have just installed MySQL 5.0, and I am unable to connect to it from
my
> own (remote) machine.  It all works fine when I open mysqladmin from the
> server itself, so I know the installation is OK.  I am working on a
small
> LAN of about 15 PCs.  When I try to telnet to the default port (3306), I
get
> the following error:
>
> Telnet to port 3306: Host 'my-machine-name' is not allowed to connect to
> this MySQL server
>
> I am not a network person so I am having some trouble.  Please advise if
> possible!
>
>

Good job on looking up that telnet test. Most newbies either don't or
won't look for just that simple bit of diagnostic information (thank
you!). The error you got is telling you that somewhere between your
machine and the server, you have been rejected from contacting that
server. Most likely it will be a firewall on the server itself but it
might be a switch between you and the server but I highly doubt it with
such a small LAN.

I would start at the server and check it for any kind of firewall program
and make sure that you open up port 3306 for inbound traffic.  If you get
very specific about what kind of OS your server is on, there may be some
people on this list that can help you find your firewall and poke a hole
through it for your DB to listen through.

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Cannot connect to server

2006-03-10 Thread SGreen
"Sara Woglom" <[EMAIL PROTECTED]> wrote on 03/10/2006 11:54:03 AM:

> I have just installed MySQL 5.0, and I am unable to connect to it from 
my
> own (remote) machine.  It all works fine when I open mysqladmin from the
> server itself, so I know the installation is OK.  I am working on a 
small
> LAN of about 15 PCs.  When I try to telnet to the default port (3306), I 
get
> the following error:
> 
> Telnet to port 3306: Host 'my-machine-name' is not allowed to connect to
> this MySQL server
> 
> I am not a network person so I am having some trouble.  Please advise if
> possible!
> 
> 

Good job on looking up that telnet test. Most newbies either don't or 
won't look for just that simple bit of diagnostic information (thank 
you!). The error you got is telling you that somewhere between your 
machine and the server, you have been rejected from contacting that 
server. Most likely it will be a firewall on the server itself but it 
might be a switch between you and the server but I highly doubt it with 
such a small LAN.

I would start at the server and check it for any kind of firewall program 
and make sure that you open up port 3306 for inbound traffic.  If you get 
very specific about what kind of OS your server is on, there may be some 
people on this list that can help you find your firewall and poke a hole 
through it for your DB to listen through.

Shawn Green
Database Administrator
Unimin Corporation - Spruce Pine

Re: Cannot connect to server

2006-03-10 Thread Mladen Adamovic

Sara Woglom wrote:

I have just installed MySQL 5.0, and I am unable to connect to it from my
own (remote) machine.  It all works fine when I open mysqladmin from the
server itself, so I know the installation is OK.  I am working on a small
LAN of about 15 PCs.  When I try to telnet to the default port (3306), I get
the following error:

Telnet to port 3306: Host 'my-machine-name' is not allowed to connect to
this MySQL server

I am not a network person so I am having some trouble.  Please advise if
possible!

  

You seem to have is privilage errors:

check this out here

http://dev.mysql.com/doc/mysql/en/grant.html






  


--
Mladen Adamovic
http://home.blic.net/adamm
http://www.shortopedia.com 
http://www.froola.com 



Re: Cannot Connect to Server

2003-09-01 Thread Martin Gainty
Make sure
%WINDOWS%\my.ini has the entry
bind-address=127.0.0.1
-Martin
- Original Message -
From: "Antony Dovgal" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 01, 2003 3:42 AM
Subject: Re: Cannot Connect to Server


> On Mon, 1 Sep 2003 11:34:31 +0100
> "Phil Ewington - 43 Plc" <[EMAIL PROTECTED]> wrote:
>
> > The error message is:
> > "Warning: mysql_connect(): Can't connect to local MySQL server through
> > socket '/var/tmp/mysql.sock' (111) in /home/sites/.. on line 3
> > Unable to select database"
>
> is MySQL socket really placed in /var/tmp?
> if not, than you need to specify path to it in mysql.default_socket
directive in php.ini
> or your MySQL server isn't running on localhost at all?
>
> ---
> WBR,
> Antony Dovgal aka tony2001
> [EMAIL PROTECTED]
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]
>
>

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Cannot Connect to Server

2003-09-01 Thread Antony Dovgal
On Mon, 1 Sep 2003 11:51:07 +0100
"Phil Ewington - 43 Plc" <[EMAIL PROTECTED]> wrote:

> Could not read response from last sender :o(
from <[EMAIL PROTECTED]> ?
it's Yet Another Spammer(or Autoresponder) on this list. YAS(A) =)
dunno why list administration haven't blocked him yet.

These robots are autoresponding on each message to the list with senseless messages:
[EMAIL PROTECTED]
[EMAIL PROTECTED]

---
WBR,
Antony Dovgal aka tony2001
[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Cannot Connect to Server

2003-09-01 Thread Phil Ewington - 43 Plc
Could not read response from last sender :o(



-Original Message-
From: Phil Ewington - 43 Plc [mailto:[EMAIL PROTECTED]
Sent: 01 September 2003 11:35
To: Mysql
Subject: Cannot Connect to Server


Hi All,

Having problems with connecting to mysql server as we have had to change all
the IP addresses on the server. I am assuming that localhost is the problem,
how can I manually change localhost to be an IP address?

The error message is:
"Warning: mysql_connect(): Can't connect to local MySQL server through
socket '/var/tmp/mysql.sock' (111) in /home/sites/.. on line 3
Unable to select database"

TIA

Phil.


Phil Ewington - Technical Director
--
43 Plc
35 Broad Street, Wokingham
Berkshire RG40 1AU
T: +44 (0)118 978 9500
F: +44 (0)118 978 4994
E: mailto:[EMAIL PROTECTED]
W: http://www.43plc.com



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Cannot Connect to Server

2003-09-01 Thread Antony Dovgal
On Mon, 1 Sep 2003 11:34:31 +0100
"Phil Ewington - 43 Plc" <[EMAIL PROTECTED]> wrote:

> The error message is:
> "Warning: mysql_connect(): Can't connect to local MySQL server through
> socket '/var/tmp/mysql.sock' (111) in /home/sites/.. on line 3
> Unable to select database"

is MySQL socket really placed in /var/tmp?
if not, than you need to specify path to it in mysql.default_socket directive in 
php.ini
or your MySQL server isn't running on localhost at all?

---
WBR,
Antony Dovgal aka tony2001
[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]