Solved

enable mysql access from remote machine

Posted on 2009-04-02
2
932 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
[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
2 Comments
 
LVL 22

Accepted Solution

by:
Ivo Stoykov earned 300 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 200 total points
ID: 24057482
0

Featured Post

Get Database Help Now w/ Support & Database Audit

Keeping your database environment tuned, optimized and high-performance is key to achieving business goals. If your database goes down, so does your business. Percona experts have a long history of helping enterprises ensure their databases are running smoothly.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Mysql Left Join Case 10 115
MySQL InnodDB Import from mysqldump takes forever. 2 73
Add a date range function to PDF Generation 9 42
Mysql query one to many 11 41
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

751 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