That is because mysql is its own daemon running in the background waiting for connections. The way I actually see what is going on with mysql is from your ssh shell to type in:
mysql
It will then bring up something like this:
root@server1 [/]# mysql
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3175230
Server version: 5.0.67-community-log MySQL Community Edition (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
mysql>
At that point I type in "show processlist" and something like this will happen:
mysql> show processlist;
+---------+-------------+-----------+-------------------+---------+------+----------------+
| Id | User | Host | db | Command | Time | State | Info |
+---------+-------------+-----------+-------------------+---------+------+----------------+
| 3175230 | root | localhost | NULL | Query | 0 | NULL | show processlist |
| 3175389 | test_user | localhost | test_db | Sleep | 1 | | NULL |
| 3175390 | test_user | localhost | test_db | Sleep | 1 | | NULL |
| 3175392 | test_user | localhost | test_db | Sleep | 0 | | NULL |
| 3175393 | test_user | localhost | test_db | Query | 0 | Sorting result | SELECT u.username, u.username_clean, u.user_id, u.user_type, u.user_allow_viewonline, u.user_colour, |
| 3175394 | test_user | localhost | test_db | Sleep | 0 | | NULL |
+---------+-------------+-----------+-------------------+---------+------+----------------+
6 rows in set (0.00 sec)
Once done type quit; and hit enter and you can exit out of there. Anyway its normal what you are seeing with MySQL, same thing for our servers. There has to be a daemon sitting there waiting for incoming connections.
Ozzu Hosting - Want your website on a fast server like Ozzu?