GeekInterview.com
Series: Subject: Topic:
Question: 48 of 58

What is RELOAD privileges in MySQL used for?

Asked by: nancyphilips | Member Since Jul-2006 | Asked on: Mar 25th, 2007

View all questions by nancyphilips   View all answers by nancyphilips

Showing Answers 1 - 3 of 3 Answers
rockxy1214

Answered On : Feb 20th, 2008

View all answers by rockxy1214

Reload privileges are mainly used when a new user is created andyou want to apply the changes without re starting Mysqlsyntax to use:mysql -u username -ppassword -e"flush privileges";

  
Login to rate this answer.
adilraufkhan

Answered On : Feb 17th, 2009

View all answers by adilraufkhan

Reload privileges are used to apply any changes on settings related to privileges without re starting Mysql's current sessionsyntax to use:mysql -u username -p password -e "flush privileges";

  
Login to rate this answer.

Hi,When you update or add privileges in MySQL grant tables(db,users,tables,columns,hosts etc) are updated. These changes takes effect when mysql server restarts. MySQL server reads all grant tables at the time of startup.If you need to affect grant table update for next client connection immediately you need command flush_privileges.RELOAD privilege allows user to fire flush_privileges command. If you need any further assistance or discussion please mail me at altafhsayyed@yahoo.com Thanks and regards

  
Login to rate this answer.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.