Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

mySQL - Allow access to ALL remote Windows connections

Posted on 2013-02-07
1
Medium Priority
?
506 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
[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
1 Comment
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 1500 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Containers like Docker and Rocket are getting more popular every day. In my conversations with customers, they consistently ask what containers are and how they can use them in their environment. If you’re as curious as most people, read on. . .
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

618 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