Monday, March 10, 2014

Show Number Of MySQL Databases Per User On cPanel

cd /var/lib/mysql
ls -d */ | grep '_' | cut -d '_' -f 1 | uniq -c | sort -rn