Solved

mySQL - Allow access to ALL remote Windows connections

Posted on 2013-02-07
1
481 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 142

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cannot convert sql query result in interger 3 43
Format data and display in formatted manner 3 55
Clean text to insert in database 9 50
Insert data into database 2 35
Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php (http://lmgtfy.com?q=how+easy+is+php)  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikiped…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

930 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now