Solved

mySQL - Allow access to ALL remote Windows connections

Posted on 2013-02-07
1
490 Views
Last Modified: 2013-02-26
I have a very basic install of mySQL that was packaged with a product called actiTime for time management.

My manager wants to be able to connect to the database via an ODBC connection. I have downloaded the ODBC drivers but cannot connect remotely. Comes back with "connection failed Host 'ManagersPC' is not allowed to connect to this MySQL server.

It runs on a Windows 2008 R2 box and the firewall is off.

I have seen commands listed for mySQL that allow one PC/IP address or user at-a-time access, but this is useless to us. The PC name could change, the ip address could change due to DHCP etc.

So, how do I open mySQL to allow remote connections to ALL?

I am a complete mySQL beginner, so yes the most basic and straightforward way would be great - thanks.
0
Comment
Question by:sterlingdev
1 Comment
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 38863250
you need to check the permissions/users created on  the MySQL side, you cannot "solve" this from the client side.
http://dev.mysql.com/doc/refman/5.1/en/grant.html

the username is implicitly also given a "hostname". with hostname being %, it would allow permission to connect (and executed the given grant) from any hostname.

but of course, reducing the % to specific host name(s) will increase the security
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
This guide whil teach how to setup live replication (database mirroring) on 2 servers for backup or other purposes. In our example situation we have this network schema (see atachment). We need to replicate EVERY executed SQL query on server 1 to…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 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