Solved

Grant access to remote IP address using (SSH)

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
( ! ) Warning: Illegal string offset  Error MYSQL PHP 62 77
PHP get months from date search query where user 40 61
php image upload 3 37
Problem with Simple PHP/mySQL Query 3 51
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

910 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

19 Experts available now in Live!

Get 1:1 Help Now