Solved

ERROR 1130 (00000): Host '192.168.0.6' is not allowed to connect to this MySQL server

Posted on 2006-06-15
2
9,377 Views
Last Modified: 2008-03-04
Hi all!
I installed MySQL on debian sarge every thing is ok  when i use it localy. but when i try to connect  to  the server from a other machine in the lan (running sarge also ) A have the following error:
ERROR 1130 (00000): Host 'exemple.domaine.com' is not allowed to connect to this MySQL server

i have verified the /etc/mysql/my.cnf and bind-adress is commented...
I did a : netsat  -l -t -p  i can see that  mysql is listening to all adresses. but i can't connect  using the Ip adress.
is there any default security configuration (else than binb-adress) that stop tcp connections on debian?

Thanks in advance!
0
Comment
Question by:nexco
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 7

Accepted Solution

by:
db2inst1 earned 250 total points
ID: 16911782
logon to local machine and try granting access to the user you are connecting as

grant all privileges on dbname.* to 'user'@'192.168.0.6' identified by 'passwd';
flush privileges;
0
 

Author Comment

by:nexco
ID: 16912376
thank you very much db2inst1 !
Now a can connect to my server from the lan!
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question