Thread
:
List Databases from shell script
View Single Post
#
5
(
permalink
)
04-16-2009, 11:02 AM
swordfish
Administrator
Join Date: Jan 2009
Posts: 41
Quote:
Originally Posted by
wcervini
Or use this one
Code:
DBS=`mysql -u root -pmypassword -e 'show databases' | tail -n +2`
Another neat way to do it wcervini
BTW, welcome aboard!
swordfish
View Public Profile
Send a private message to swordfish
Find all posts by swordfish