I need to find my MySQL username. When I open the MySQL command line client, it only asks me for my password. I don\'t remember my username. And for connectivity with JDBC, I ne
If you don't know the exact variable name use like, as the result may contain more than 500 rows:
like
mysql> show variables like "%port%";