Problem - Host 'abc.def.com' is not allowed to connect to this MySQL server, Please advice..

2008-07-14 Thread ahmadbasha.shaik
Hi All,

I am facing a particular problem which i have explained here. Can
you please let me know a solution for this.

From my web application, I am trying to connect the MySQL server by
using the IP address as the server name, and it says the following
error:
Host 'abc.def.com' is not allowed to connect to this MySQL server

Options that I tried: (from the information availabe on internet)
a) I tried modifying the hosts file in WinNT directory to include this
host name (assuming that it was not understanding the IP), but it did
not work
b) I tried adding a record with the IP as host and user as root in user
table of mysql database it did not work
c) I tried adding a record with the 'abc.def.com' as host and user as
root in user table of mysql database it did not work
d) I tried enabling Remote Access in MySQL Server instance config
wizard but since the root users password is not set, it is not allowing
me go forward (i.e. the next button is disabled)
e) If I try to reset the password while configuring the MySQL Server
Instance, it does not allow me to do so
f) I tried adding a record with the '%' as host and user as root in user
table of mysql database it did not allow me to add the record

Regards
Ahmad

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

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



RE: Problem - Host 'abc.def.com' is not allowed to connect to this MySQL server, Please advice..

2008-07-14 Thread ahmadbasha.shaik
Hi,

I did that too,

I executed the command  - GRANT ALL PRIVILEGES ON *.* to
'root'@'localhost' ;
I tried also GRANT ALL PRIVILEGES ON *.* to 'root'@'abc.def.com' ; where
abc.def.com is my machine name

But both of these did not work, I did not mention this in my earlier
mail. Can you please let me know if there is any other way out.

Regards
Ahmad

-Original Message-
From: Parikh, Dilip Kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:26 PM
To: Ahmadbasha Shaik (WT01 - E-ENABLING); Raghavendra Hosabettu (WT01 -
Innovation Group)
Subject: FW: Problem - Host 'abc.def.com' is not allowed to connect to
this MySQL server, Please advice..
Importance: High


Hi all,

First try checking out the grant for the particular user ?

Show grants for user@'abc.def.com';

If u don't find the results u can give grant as :-

Grant select on *.* to user@'abc.def.com' identified by ''; Flush
privileges;



Thanks  Regards,
Dilipkumar

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:21 PM
To: mysql@lists.mysql.com
Cc: [EMAIL PROTECTED]
Subject: Problem - Host 'abc.def.com' is not allowed to connect to this
MySQL server, Please advice..
Importance: High

Hi All,

I am facing a particular problem which i have explained here. Can
you please let me know a solution for this.

From my web application, I am trying to connect the MySQL server by
using the IP address as the server name, and it says the following
error:
Host 'abc.def.com' is not allowed to connect to this MySQL server

Options that I tried: (from the information availabe on internet)
a) I tried modifying the hosts file in WinNT directory to include this
host name (assuming that it was not understanding the IP), but it did
not work
b) I tried adding a record with the IP as host and user as root in user
table of mysql database it did not work
c) I tried adding a record with the 'abc.def.com' as host and user as
root in user table of mysql database it did not work
d) I tried enabling Remote Access in MySQL Server instance config
wizard but since the root users password is not set, it is not allowing
me go forward (i.e. the next button is disabled)
e) If I try to reset the password while configuring the MySQL Server
Instance, it does not allow me to do so
f) I tried adding a record with the '%' as host and user as root in user
table of mysql database it did not allow me to add the record

Regards
Ahmad

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com

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


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

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



Re: Problem - Host 'abc.def.com' is not allowed to connect to this MySQL server, Please advice..

2008-07-14 Thread Glyn Astill
make sure to FLUSH PRIVILAGES;



- Original Message 
 From: [EMAIL PROTECTED] [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]; mysql@lists.mysql.com
 Cc: [EMAIL PROTECTED]
 Sent: Monday, 14 July, 2008 10:59:35 AM
 Subject: RE: Problem - Host 'abc.def.com' is not allowed to connect to this 
 MySQL server, Please advice..
 
 Hi,
 
 I did that too,
 
 I executed the command  - GRANT ALL PRIVILEGES ON *.* to
 'root'@'localhost' ;
 I tried also GRANT ALL PRIVILEGES ON *.* to 'root'@'abc.def.com' ; where
 abc.def.com is my machine name
 
 But both of these did not work, I did not mention this in my earlier
 mail. Can you please let me know if there is any other way out.
 
 Regards
 Ahmad
 
 -Original Message-
 From: Parikh, Dilip Kumar [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 14, 2008 3:26 PM
 To: Ahmadbasha Shaik (WT01 - E-ENABLING); Raghavendra Hosabettu (WT01 -
 Innovation Group)
 Subject: FW: Problem - Host 'abc.def.com' is not allowed to connect to
 this MySQL server, Please advice..
 Importance: High
 
 
 Hi all,
 
 First try checking out the grant for the particular user ?
 
 Show grants for user@'abc.def.com';
 
 If u don't find the results u can give grant as :-
 
 Grant select on *.* to user@'abc.def.com' identified by ''; Flush
 privileges;
 
 
 
 Thanks  Regards,
 Dilipkumar
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 14, 2008 3:21 PM
 To: mysql@lists.mysql.com
 Cc: [EMAIL PROTECTED]
 Subject: Problem - Host 'abc.def.com' is not allowed to connect to this
 MySQL server, Please advice..
 Importance: High
 
 Hi All,
 
 I am facing a particular problem which i have explained here. Can
 you please let me know a solution for this.
 
 From my web application, I am trying to connect the MySQL server by
 using the IP address as the server name, and it says the following
 error:
 Host 'abc.def.com' is not allowed to connect to this MySQL server
 
 Options that I tried: (from the information availabe on internet)
 a) I tried modifying the hosts file in WinNT directory to include this
 host name (assuming that it was not understanding the IP), but it did
 not work
 b) I tried adding a record with the IP as host and user as root in user
 table of mysql database it did not work
 c) I tried adding a record with the 'abc.def.com' as host and user as
 root in user table of mysql database it did not work
 d) I tried enabling Remote Access in MySQL Server instance config
 wizard but since the root users password is not set, it is not allowing
 me go forward (i.e. the next button is disabled)
 e) If I try to reset the password while configuring the MySQL Server
 Instance, it does not allow me to do so
 f) I tried adding a record with the '%' as host and user as root in user
 table of mysql database it did not allow me to add the record
 
 Regards
 Ahmad
 
 Please do not print this email unless it is absolutely necessary.
 
 The information contained in this electronic message and any attachments
 to this message are intended for the exclusive use of the addressee(s)
 and may contain proprietary, confidential or privileged information. If
 you are not the intended recipient, you should not disseminate,
 distribute or copy this e-mail. Please notify the sender immediately and
 destroy all copies of this message and any attachments.
 
 WARNING: Computer viruses can be transmitted via email. The recipient
 should check this email and any attachments for the presence of viruses.
 The company accepts no liability for any damage caused by any virus
 transmitted by this email.
 
 www.wipro.com
 
 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql To unsubscribe:
 http://lists.mysql.com/[EMAIL PROTECTED]
 
 
 Please do not print this email unless it is absolutely necessary. 
 
 The information contained in this electronic message and any attachments to 
 this 
 message are intended for the exclusive use of the addressee(s) and may 
 contain 
 proprietary, confidential or privileged information. If you are not the 
 intended 
 recipient, you should not disseminate, distribute or copy this e-mail. Please 
 notify the sender immediately and destroy all copies of this message and any 
 attachments. 
 
 WARNING: Computer viruses can be transmitted via email. The recipient should 
 check this email and any attachments for the presence of viruses. The company 
 accepts no liability for any damage caused by any virus transmitted by this 
 email. 
 
 www.wipro.com
 
 --
 MySQL General Mailing List
 For list archives: http://lists.mysql.com/mysql
 To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



  __
Not happy with your email address?.
Get the one you really want - millions of new email addresses available now at 
Yahoo! http://uk.docs.yahoo.com/ymail/new.html

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

RE: Problem - Host 'abc.def.com' is not allowed to connect to this MySQL server, Please advice..

2008-07-14 Thread ahmadbasha.shaik
Hi Parikh,

Yes.. It worked with IP i.e when I granted privileges to 'root'@'ip of
my machine' and flushed it, it worked fine. But I have a qestion below:

GRANT ALL PRIVILEGES ON *.* to 'root'@'IP';
FLUSH PRIVILEGES;

However, Would '*.def.com' work in the place of IP?, as I feel that
giving privileges for each IP for each machine that is going to access
the mysql server would be tedious and not recommended choice. Please let
me know.

Regards
Ahmad

-Original Message-
From: Parikh, Dilip Kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:34 PM
To: Ahmadbasha Shaik (WT01 - E-ENABLING); Raghavendra Hosabettu (WT01 -
Innovation Group)
Subject: FW: Problem - Host 'abc.def.com' is not allowed to connect to
this MySQL server, Please advice..

Ok It means that DNS not configured so better give the IP address
instead of hsostname and check using in mysql as


Show grants for [EMAIL PROTECTED];

This should show u the grants




Thanks  Regards,
Dilipkumar
MphasiS an EDS Company | No 25,Steeple Reach,Cathedral Road | Chennai |
India |  91 44 28113801 |Extn 2216
Mobile: 9884430998 | 9962029004

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:30 PM
To: Parikh, Dilip Kumar; mysql@lists.mysql.com
Cc: [EMAIL PROTECTED]
Subject: RE: Problem - Host 'abc.def.com' is not allowed to connect to
this MySQL server, Please advice..

Hi,

I did that too,

I executed the command  - GRANT ALL PRIVILEGES ON *.* to
'root'@'localhost' ; I tried also GRANT ALL PRIVILEGES ON *.* to
'root'@'abc.def.com' ; where abc.def.com is my machine name

But both of these did not work, I did not mention this in my earlier
mail. Can you please let me know if there is any other way out.

Regards
Ahmad

-Original Message-
From: Parikh, Dilip Kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:26 PM
To: Ahmadbasha Shaik (WT01 - E-ENABLING); Raghavendra Hosabettu (WT01 -
Innovation Group)
Subject: FW: Problem - Host 'abc.def.com' is not allowed to connect to
this MySQL server, Please advice..
Importance: High


Hi all,

First try checking out the grant for the particular user ?

Show grants for user@'abc.def.com';

If u don't find the results u can give grant as :-

Grant select on *.* to user@'abc.def.com' identified by ''; Flush
privileges;



Thanks  Regards,
Dilipkumar

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:21 PM
To: mysql@lists.mysql.com
Cc: [EMAIL PROTECTED]
Subject: Problem - Host 'abc.def.com' is not allowed to connect to this
MySQL server, Please advice..
Importance: High

Hi All,

I am facing a particular problem which i have explained here. Can
you please let me know a solution for this.

From my web application, I am trying to connect the MySQL server by
using the IP address as the server name, and it says the following
error:
Host 'abc.def.com' is not allowed to connect to this MySQL server

Options that I tried: (from the information availabe on internet)
a) I tried modifying the hosts file in WinNT directory to include this
host name (assuming that it was not understanding the IP), but it did
not work
b) I tried adding a record with the IP as host and user as root in user
table of mysql database it did not work
c) I tried adding a record with the 'abc.def.com' as host and user as
root in user table of mysql database it did not work
d) I tried enabling Remote Access in MySQL Server instance config
wizard but since the root users password is not set, it is not allowing
me go forward (i.e. the next button is disabled)
e) If I try to reset the password while configuring the MySQL Server
Instance, it does not allow me to do so
f) I tried adding a record with the '%' as host and user as root in user
table of mysql database it did not allow me to add the record

Regards
Ahmad

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com

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


Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary

Re: ***SPAM*** RE: Problem - Host 'abc.def.com' is not allowed to connect to this MySQL server, Please advice..

2008-07-14 Thread Curtis Maurand


grant all on *.* to root@'%.def.com';  /* The percent sign is your 
wildcard character. */

flush privileges;

I don't think you need to flush privileges as of 5.0.  I still do just 
to be sure.


Curtis

[EMAIL PROTECTED] wrote:

Hi Parikh,

Yes.. It worked with IP i.e when I granted privileges to 'root'@'ip of
my machine' and flushed it, it worked fine. But I have a qestion below:

GRANT ALL PRIVILEGES ON *.* to 'root'@'IP';
FLUSH PRIVILEGES;

However, Would '*.def.com' work in the place of IP?, as I feel that
giving privileges for each IP for each machine that is going to access
the mysql server would be tedious and not recommended choice. Please let
me know.

Regards
Ahmad 


-Original Message-
From: Parikh, Dilip Kumar [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 14, 2008 3:34 PM

To: Ahmadbasha Shaik (WT01 - E-ENABLING); Raghavendra Hosabettu (WT01 -
Innovation Group)
Subject: FW: Problem - Host 'abc.def.com' is not allowed to connect to
this MySQL server, Please advice..

Ok It means that DNS not configured so better give the IP address
instead of hsostname and check using in mysql as


Show grants for [EMAIL PROTECTED];

This should show u the grants

 



Thanks  Regards,
Dilipkumar
MphasiS an EDS Company | No 25,Steeple Reach,Cathedral Road | Chennai |
India |  91 44 28113801 |Extn 2216
Mobile: 9884430998 | 9962029004

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:30 PM
To: Parikh, Dilip Kumar; mysql@lists.mysql.com
Cc: [EMAIL PROTECTED]
Subject: RE: Problem - Host 'abc.def.com' is not allowed to connect to
this MySQL server, Please advice..

Hi,

I did that too, 


I executed the command  - GRANT ALL PRIVILEGES ON *.* to
'root'@'localhost' ; I tried also GRANT ALL PRIVILEGES ON *.* to
'root'@'abc.def.com' ; where abc.def.com is my machine name 


But both of these did not work, I did not mention this in my earlier
mail. Can you please let me know if there is any other way out. 

Regards
Ahmad

-Original Message-
From: Parikh, Dilip Kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:26 PM
To: Ahmadbasha Shaik (WT01 - E-ENABLING); Raghavendra Hosabettu (WT01 -
Innovation Group)
Subject: FW: Problem - Host 'abc.def.com' is not allowed to connect to
this MySQL server, Please advice..
Importance: High

 
Hi all,


First try checking out the grant for the particular user ?

Show grants for user@'abc.def.com';

If u don't find the results u can give grant as :-

Grant select on *.* to user@'abc.def.com' identified by ''; Flush
privileges;



Thanks  Regards,
Dilipkumar

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, July 14, 2008 3:21 PM
To: mysql@lists.mysql.com
Cc: [EMAIL PROTECTED]
Subject: Problem - Host 'abc.def.com' is not allowed to connect to this
MySQL server, Please advice..
Importance: High

Hi All,

I am facing a particular problem which i have explained here. Can
you please let me know a solution for this.

From my web application, I am trying to connect the MySQL server by
using the IP address as the server name, and it says the following
error:
Host 'abc.def.com' is not allowed to connect to this MySQL server

Options that I tried: (from the information availabe on internet)
a) I tried modifying the hosts file in WinNT directory to include this
host name (assuming that it was not understanding the IP), but it did
not work
b) I tried adding a record with the IP as host and user as root in user
table of mysql database it did not work
c) I tried adding a record with the 'abc.def.com' as host and user as
root in user table of mysql database it did not work
d) I tried enabling Remote Access in MySQL Server instance config
wizard but since the root users password is not set, it is not allowing
me go forward (i.e. the next button is disabled)
e) If I try to reset the password while configuring the MySQL Server
Instance, it does not allow me to do so
f) I tried adding a record with the '%' as host and user as root in user
table of mysql database it did not allow me to add the record

Regards
Ahmad

Please do not print this email unless it is absolutely necessary. 


The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments. 


WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email. 


www.wipro.com

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

not allowed to connect to this mysql server

2003-06-11 Thread sinan

Hi 
I am using a .Net project to connect to a mysql server. I have a winXP (IIS installed) 
machine as a network client to our mysql server hold on a linux machine. I have mydobc 
installed. I made a connection in .Net. But when I try to connect to mysql I get an 
error message saying: 'My ip' is not allowed to connect to this mysql server 
What can I do? 
Sinan 


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



Re: not allowed to connect to this mysql server

2003-06-11 Thread Per Andreas Buer
[EMAIL PROTECTED] writes:

 Hi I am using a .Net project to connect to a mysql server. I have a
 winXP (IIS installed) machine as a network client to our mysql server
 hold on a linux machine. I have mydobc installed. I made a connection
 in .Net. But when I try to connect to mysql I get an error message
 saying: 'My ip' is not allowed to connect to this mysql server What
 can I do? 

Check out this list: http://www.mysql.com/doc/en/Access_denied.html

Most likely the answer is:

If you get the following error when you try to connect from a different
host than the one on which the MySQL server is running, then there is no
row in the user table that matches that host:

Host ... is not allowed to connect to this MySQL server

You can fix this by using the command-line tool mysql (on the server
host!) to add a row to the user, db, or host table for the user/hostname
combination from which you are trying to connect and then execute
mysqladmin flush-privileges. If you are not running MySQL Version 3.22
and you don't know the IP number or hostname of the machine from which
you are connecting, you should put an entry with '%' as the Host column
value in the user table and restart mysqld with the --log option on the
server machine. After trying to connect from the client machine, the
information in the MySQL log will indicate how you really did connect.
(Then replace the '%' in the user table entry with the actual hostname
that shows up in the log. Otherwise, you'll have a system that is
insecure.) Another reason for this error on Linux is that you are using
a binary MySQL version that is compiled with a different glibc version
than the one you are using. In this case you should either upgrade your
OS/glibc or download the source MySQL version and compile this yourself.
A source RPM is normally trivial to compile and install, so this isn't a
big problem.
-- 
Per Andreas Buer

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



Re: not allowed to connect to this mysql server

2003-06-11 Thread Gelu Gogancea
Hi,

First you must add grants to the user which you want to connect to the MySQL
server.In documentation (4.3.5 Adding New Users to MySQL) you will find how
you can achieved this.

Regards,

Gelu
_
G.NET SOFTWARE COMPANY

Permanent e-mail address : [EMAIL PROTECTED]
  [EMAIL PROTECTED]
- Original Message - 
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 2:41 PM
Subject: not allowed to connect to this mysql server



 Hi
 I am using a .Net project to connect to a mysql server. I have a winXP
(IIS installed) machine as a network client to our mysql server hold on a
linux machine. I have mydobc installed. I made a connection in .Net. But
when I try to connect to mysql I get an error message saying: 'My ip' is
not allowed to connect to this mysql server
 What can I do?
 Sinan


 -- 
 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: not allowed to connect to this mysql server

2003-06-11 Thread Egor Egorov
[EMAIL PROTECTED] wrote:
 
 I am using a .Net project to connect to a mysql server. I have a winXP (IIS 
 installed) machine as a network client to our mysql server hold on a linux machine. 
 I have mydobc installed. I made a connection in .Net. But when I try to connect to 
 mysql I get an error message saying: 'My ip' is not allowed to connect to this 
 mysql server 
 What can I do? 

Give user privileges to connect from needed host:
http://www.mysql.com/doc/en/GRANT.html



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com




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



error: 'Host 'myhostname' is not allowed to connect to this MySQL server'

2002-09-26 Thread Darren Hills

Hi

After installing MySQL-3.23.52-1.i386.rpm the following is displayed:

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
This is done with:
/usr/bin/mysqladmin -u root  password 'new-password'
/usr/bin/mysqladmin -u root -h myhostname password 'new-password'
See the manual for more instructions.
.
.

However, when I attempt to run the second of these I get the following
error:

[root@myhostname root]# mysqladmin -u root -h myhostname mypassword
mysqladmin: connect to server at 'myhostname' failed
error: 'Host 'myhostname' is not allowed to connect to this MySQL server'

Any help appreciated.

Regards

Darren Hills
Systems Tester/Test Analyst
Technology South Australia
Pracom Ltd
288 Glen Osmond Road
Fullarton South Australia 5063

Voice:   +61 8 8202 9963
Fax: +61 8 8202 9001
Mobile:  0402 358 988
Mailto:[EMAIL PROTECTED]
http://www.pracom.com.au

PRIVILEGED - PRIVATE AND CONFIDENTIAL
This electronic mail is solely for the use of the addressee and may contain
information which is confidential or privileged.
If you receive this electronic mail in error, please delete it from your
system immediately and notify the sender by electronic mail or using any of
the above contact details.



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




ERROR 1130 : Host 'localhost' is not allowed to connect to this MySQL Server error

2002-09-21 Thread Ahmad Tasleem

I unzipped and installed MySQL 3.23.52 from
free-download on my PC running WindowsMe. First time
it worked by running 'mysqld' and 'mysqlc' and I made
a table and loaded data into it. Then I deleted all
rows from 'mysql.user' table where 'host=localhost' in
my attempt to make it secure, however, I had to halt
using my computer and I closed it. When I re-started,
it started giving 'ERROR 1130 : Host 'localhost' is
not not allowed to connect to this MySQL server'. I
read a lot of manual. I do not have 'mysql_install_db'
script to remake the privilege tables. Finally I
deleted all files related to mySQL to re-do its
installation. Again I unzipped and installed MySQL
from the .zip file downloaded earlier. This time
'user.MYD' is not empty but 'host.myd', 'db.myd' are
empty (zero bytes). But I have the same problem.
'mysqld' runs silently in the background. But 'mysqlc'
and 'mysqladmin' output the same above error and I
cannot connect and enter into command line mode to do
ANSI SQL commands on tables. Can anyone help me what
to do and what should be the entries in 'my.cnf' or
'my.ini' file and else where.
My regards to all. 


__ 
Post your free ad now! http://personals.yahoo.ca

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




not allowed to connect to this MySQL server

2001-10-03 Thread Emailit2

I don't know anything about MySQL, Ive just been trying(with no luck)to 
install a forum(Snitz forum from www.snitz.com) on my website. My website is 
Linux/MySQL/Chilisoft!
I open my setup.asp in my browser like: www.dvox.com/forum/setup.asp I get 
the prompt to  login. Once I login I get this:

ADODB.Connection.1 error '80004005' 

SQLState: S1000
Native Error Code: 1130
[TCX][MyODBC]Host 'dvox.com' is not allowed to connect to this MySQL 
server


/forum/setup_login.asp, line 58 

Any info about what this means, and how to fix it is appreciated
Thanks!

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Host 'ip adddress'' is not allowed to connect to this MySQL server

2001-09-24 Thread Harpreet


I am trying to use MYSQL CLIENT for the first time. I have setup the mysql
server and connect to it from my machine using Telnet.
But everytime i try to connect using mysql client or through access 2000 i
get the following error:

Host 'ip address' is not allowed to connect to this MySQL server
please help and let me know what am i missing.

An early response will be appreciated.

Regards,
Harpreet Kaur
Software Developer
Crispin Corporations Inc.



-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Host 'ip adddress'' is not allowed to connect to this MySQL server

2001-09-24 Thread Tony Wells

Harpreet wrote:
 
 I am trying to use MYSQL CLIENT for the first time. I have setup the mysql
 server and connect to it from my machine using Telnet.
 But everytime i try to connect using mysql client or through access 2000 i
 get the following error:
 
 Host 'ip address' is not allowed to connect to this MySQL server
 please help and let me know what am i missing.

From the online manual...

If you get the following error when you try to connect from a different
host than the one on which the MySQL server is running, then there is no
row in the user table that matches that host: 

 Host ... is not allowed to connect to this MySQL server

You can fix this by using the command-line tool mysql (on the server
host!) to add a row to the user, db, or host table for the user/hostname
combination from which you are trying to
connect and then execute mysqladmin flush-privileges. If you are not
running MySQL Version 3.22 and you don't know the IP number or hostname
of the machine from which
you are connecting, you should put an entry with '%' as the Host column
value in the user table and restart mysqld with the --log option on the
server machine. After trying to
connect from the client machine, the information in the MySQL log will
indicate how you really did connect. (Then replace the '%' in the user
table entry with the actual hostname that
shows up in the log. Otherwise, you'll have a system that is insecure.)
Another reason for this error on Linux is that you are using a binary
MySQL version that is compiled with a different
glibc version than the one you are using. In this case you should either
upgrade your OS/glibc or download the source MySQL version and compile
this yourself. A source RPM is normally
trivial to compile and install, so this isn't a big problem. 

 
 An early response will be appreciated.
 
 Regards,
 Harpreet Kaur
 Software Developer
 Crispin Corporations Inc.
 
 -
 Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)
 
 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Host is not allowed to connect to this MySQL Server

2001-06-27 Thread Juan

Hi,

When I try to connect from another machine (using MySQL Front) I'm getting 
the following error message:
==
Error
Connection failed
1130 - Host  is not allowed to connect to this MySQL Server
==

I changed the user to Host = % into user table to connect from any host 
and add a record into host table with my host, but I'm still getting the 
same error message. How can I connect from other host?

The message contains an empty host name ... (!?) Why?

TIA,
Juan.


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Host is not allowed to connect to this MySQL Server

2001-06-27 Thread Oscar E. Salninch

I guess if you are updating user columns directly, you need to restart
mysqld in order for changes to take effect... I think, that was a case
with me...

- Original Message -
From: Juan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 5:24 PM
Subject: Host  is not allowed to connect to this MySQL Server


Hi,

When I try to connect from another machine (using MySQL Front) I'm
getting
the following error message:
==
Error
Connection failed
1130 - Host  is not allowed to connect to this MySQL Server
==

I changed the user to Host = % into user table to connect from any
host
and add a record into host table with my host, but I'm still getting the
same error message. How can I connect from other host?

The message contains an empty host name ... (!?) Why?

TIA,
Juan.




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Host is not allowed to connect to this MySQL Server

2001-06-27 Thread Tuc

 
 I guess if you are updating user columns directly, you need to restart
 mysqld in order for changes to take effect... I think, that was a case
 with me...
 
I find a mysqladmin flush-hosts fixes it for me. WHY, no one
ever has figured out why. When one or more of the systems decides it can't
talk to the server, I just run that and its all happy again.

Thanks, Tuc/TTSG Internet Services, Inc.

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: Host is not allowed to connect to this MySQL Server

2001-06-27 Thread Paul DuBois

At 9:23 PM +0200 6/27/01, Oscar E. Salninch wrote:
I guess if you are updating user columns directly, you need to restart
mysqld in order for changes to take effect... I think, that was a case
with me...

Or issue a FLUSH PRIVILEGES query.


- Original Message -
From: Juan [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, June 27, 2001 5:24 PM
Subject: Host  is not allowed to connect to this MySQL Server


Hi,

When I try to connect from another machine (using MySQL Front) I'm
getting
the following error message:
==
Error
Connection failed
1130 - Host  is not allowed to connect to this MySQL Server
==

I changed the user to Host = % into user table to connect from any
host
and add a record into host table with my host, but I'm still getting the
same error message. How can I connect from other host?

The message contains an empty host name ... (!?) Why?

TIA,
Juan.




-
Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


-- 
Paul DuBois, [EMAIL PROTECTED]

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




ERROR 1130: Host '' is not allowed to connect to this MySQL server

2001-02-08 Thread Jen Carroll

I am getting the same error when I try to connect. Mine is a brand new
install. Have you have any luck trouble shooting this problem?

Jen


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: ERROR 1130: Host '' is not allowed to connect to this MySQL server

2001-02-08 Thread Atle Veka


Please look in the mysql manual before you ask questions (if you already
haven't)

http://www.mysql.com/doc/P/r/Privilege_system.html

:)

--Atle

On Thu, 8 Feb 2001, Jen Carroll wrote:

 I am getting the same error when I try to connect. Mine is a brand new
 install. Have you have any luck trouble shooting this problem?
 
 Jen
 
 
 -
 Before posting, please check:
http://www.mysql.com/manual.php   (the manual)
http://lists.mysql.com/   (the list archive)
 
 To request this thread, e-mail [EMAIL PROTECTED]
 To unsubscribe, e-mail [EMAIL PROTECTED]
 Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
 


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




ERROR 1130: Host '' is not allowed to connect to this MySQL server

2001-02-07 Thread Glen Parker

Good Morning,

Recently, on an otherwise functioning system, I began getting the following 
message
ERROR 1130: Host '' is not allowed to connect to this MySQL server

I am running both the client and server from Solaris 7 machines.  MySQL 
version is 3.22.32

This started happening about two days ago, and before I was able to connect 
fine.

The command that causes this error runs on a client, trying to connect to a 
different machine.  Here is the command being run:This is a simple shell 
script.  :
   echo "select netid,login from names where ssn='$1%';" | mysql -h 
uba.usf.edu -P 3306 -u blackbrd nams

hostname returns the correct host, resolveip returns the correct host, 
nslookup returns the correct host.

Somewhere, MySQL is not looking for the client hostname corerctly.  I guess 
my question is where does MySQL look for the hostname, and how can I check 
what it is looking for?

Thanks in advance for looking at my problem.  I appreciate any help received.

Thanks, Glen




-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




ERROR 1130: Host 'dhcp-70-219' is not allowed to connect to this MySQL server

2001-01-17 Thread kerry finn

Hi,

I'm new to MySQL. I've installed MySQL on bothWin2000 and Solaris 2.8
machines. Everything locally works fine. When I tried to connect from
the Win2000 (dhcp-70-219) machine to the Solaris machine
I get the following error:

"ERROR 1130: Host 'dhcp-70-219' is not allowed to connect to this
MySQL server"

I have added the hostnames and ip addresses to both /etc/hosts files.
And can ping each other.

Any ideas (ERROR: 1130) ?

thanks,
Kerry

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail [EMAIL PROTECTED]
To unsubscribe, e-mail [EMAIL PROTECTED]
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php