Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

enable mysql access from remote machine

Posted on 2009-04-02
2
Medium Priority
?
944 Views
Last Modified: 2013-11-15
I have a mysql 5.0 server (new installation) on my Ubuntu 8.10. What should I do to connect to the server from a windows machine on the same LAN? I tried change bind-address and the mysql-server failed to start with this changed configuration. Mysql server start only if the bind-address is IP of the ubuntu machine.
0
Comment
Question by:Sinoj Sebastian
2 Comments
 
LVL 22

Accepted Solution

by:
Ivo Stoykov earned 1200 total points
ID: 24056943
you could try something like the sample below.
this will all anything to the user johndoe connecting from the given address at stated network,
HTH
Ivo Stoykov

mysql> GRANT ALL PRIVILEGES ON db.* TO johndoe@'192.58.197.0/255.255.255.0';

Open in new window

0
 
LVL 29

Assisted Solution

by:fosiul01
fosiul01 earned 800 total points
ID: 24057482
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Recursive SQL is one of the most fascinating and powerful and yet dangerous feature offered in many modern databases today using a Common Table Expression (CTE) first introduced in the ANSI SQL 99 standard. The first implementations of CTE began ap…
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…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

926 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