WAMP - Allow remote access to MySQL

Posted on 2009-12-16
Medium Priority
Last Modified: 2012-05-08

I have MySQL set up on a windows server. I wish to migrate to a new server running WAMP.

I installed WAMP just fine, and now I want to conect to MySQL with the MySQL Admininistrator tool so I can restore my backups.

When I open the MySQL adminitrator and enter the IP address of my new WAMP server,I get an error Number 1130 (Host 'xxxx' is not allowed to connect to this MySQL server'

How do I configure MySQL in WAMP such that I am allowed to use the MySQL tool to conect as root in order to perform administrative tasks?

Note - security is not the primary concern here - ease of use is. This is only being used internally. I'm quite happy to open it up to ALL remote hosts so that I can use the tool on other machines...

Question by:MDWinter

Accepted Solution

jaxstorm earned 2000 total points
ID: 26061481
I know you're saying you'll allow root access from any host, but its just as easy to create a new user with all privileges. Its safer, as an attacker will try the username root first. Create another username with privileges from all hosts.

Open a dos prompt on the server you wish to be able to connect to

Start -> cmd

mysql -u root --password=<insert your password>

then, from the mysql prompt, do


Author Closing Comment

ID: 31666701
Perfect - thanks!

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
Suggested Courses

757 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