Solved

Cannot connect WorkBench from Windows 7 pc to Windows server

Posted on 2014-09-06
2
321 Views
Last Modified: 2014-09-10
Running Windows 7 pro on pc (let's call it workstation 1)
Running Small Business Server 2008 on the Windows server (let's call this ML350)
WorkBench can successfully connect to localhost if I am logged in directly on the ML350 server so I know the MySql service is running and WorkBench on the server is working well.
The problem is connecting from workstation 1 to the ML350 server.
I have done the following:
 - Created outbound rule on workstation 1 for port 3306
 - When I execute the command “telnet ml350 3306”  telnet says it can successfully communicate so I know ports are not an issue.
 - When I attempt to create a connection in WorkBench to ML350, I enter:
 .    Connection name:  Test1
.      Connection method is standard (tcp/ip)
.     Hostname is ML350
.      Port is : 3306
.      username is : root

When I click on “test connection” , the dialog asks for the password for root.  I enter it and click on OK and get the error message:
   “ Failed to connect to MySQL at ML350:3306 with user root.”

I have tried replacing the hostname with the ip address of ML350 server and get the same message.

What am I missing ?  How do I solve this?
0
Comment
Question by:donpick
2 Comments
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
Do not use 'root' for a remote connection.  It is normally restricted to 'localhost' because it can be used to cause damage up to destroying the server.  Create a user with the privileges you need and 'anyhost' for remote access.  http://dev.mysql.com/doc/refman/5.5/en/adding-users.html
0
 

Author Closing Comment

by:donpick
Comment Utility
Thank you for your answer.  I managed to figure out how to add a user using the Workbench utility.
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Because virtualization becomes more and more common, and, with Microsoft Hyper-V included in Windows Server at no additional costs, and, most server hardware nowadays is more than capable of running a physical Small Business Server (SBS) 2008 or 201…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
This video discusses moving either the default database or any database to a new volume.
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…

772 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

12 Experts available now in Live!

Get 1:1 Help Now