Mysql: Difference between revisions

From roonics
Jump to navigation Jump to search
Line 4: Line 4:
<pre>mysql -u <username> -p</pre>
<pre>mysql -u <username> -p</pre>


===test===
===Show process list===
<pre>mysqladmin -p processlist</pre>
 
or if already connected to MySQL
 
<pre>show processlist;</pre>

Revision as of 11:13, 15 March 2019

MySQL

Useful Commands

Connect to database

mysql -u <username> -p

Show process list

mysqladmin -p processlist

or if already connected to MySQL

show processlist;