USER() returns the current MySQL username and hostname : USER : Information Functions MySQL TUTORIALS


MySQL TUTORIALS » Information Functions » USER »

 

USER() returns the current MySQL username and hostname


mysql>
mysql> SELECT USER();
+----------------+
| USER()         |
+----------------+
| root@localhost |
+----------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Information Functions
» USER