MySQL Forums
Forum List  »  Security

Re: global variable
Posted by: Shane Bester
Date: August 07, 2014 02:08PM

Hi Martin,


Try this:

select * from db where user_login = CURRENT_USER();


http://dev.mysql.com/doc/refman/5.6/en/information-functions.html#function_current-user

Options: ReplyQuote


Subject
Views
Written By
Posted
4552
August 05, 2014 02:41PM
1348
August 05, 2014 04:22PM
Re: global variable
1315
August 07, 2014 02:08PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.