print current user mysql code example
Example 1: see all users mysql
mysql> select host, user, password from mysql.user;
Example 2: current user laravel
$user = auth()->user(); print($user->id);print($user->name);print($user->email);
mysql> select host, user, password from mysql.user;
$user = auth()->user(); print($user->id);print($user->name);print($user->email);