Solved

Grant access to remote IP address using (SSH)

Posted on 2008-10-24
3
927 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 500 total points
ID: 22801466
0
 

Author Closing Comment

by:uk1900
ID: 31509887
thx man
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Suggested Solutions

Foreword This is an old article.  Instead of using the MySQL extension that was used in the original code examples, please choose one of the currently supported database extensions instead.  More information is available here: MySQLi / PDO (http://…
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

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