Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Grant access to remote IP address using (SSH)

Posted on 2008-10-24
3
Medium Priority
?
939 Views
Last Modified: 2010-04-21
hi experts,

how can I Grant access to remote IP address lets say (33.33.33.33) to mysql ?

regards,
0
Comment
Question by:uk1900
[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
3 Comments
 
LVL 3

Expert Comment

by:raminhos
ID: 22801463
Try the code above..

but, y ou must insure that you have port 3306 open in firewall and / or router..



#mysql -u root -p mysql
 
mysql> GRANT ALL ON foo.* TO bar@'33.33.33.33' IDENTIFIED BY 'PASSWORD';
 
mysql> update db set Host='33.33.33.33' where Db='webdb';
 
mysql> update user set Host='33.33.33.33' where user='webadmin';
 
mysql> exit

Open in new window

0
 
LVL 3

Accepted Solution

by:
raminhos earned 2000 total points
ID: 22801466
0
 

Author Closing Comment

by:uk1900
ID: 31509887
thx man
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
In this blog post, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.
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

664 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