Solved

Grant access to remote IP address using (SSH)

Posted on 2008-10-24
3
912 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
  • 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A lot of articles have been written on splitting mysqldump and grabbing the required tables. A long while back, when Shlomi (http://code.openark.org/blog/mysql/on-restoring-a-single-table-from-mysqldump) had suggested a “sed” way, I actually shell …
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

20 Experts available now in Live!

Get 1:1 Help Now