Solved

Grant access to remote IP address using (SSH)

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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

I use MySQL for many of my development projects in a Windows environment. To manage my databases (and perform queries) for years I used a tool called MySQL administrator.  This tool has since been replaced by MySQL Workbench. So I decided to m…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

777 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