mysql - Shell script if condition - Stack Overflow

mysql - Shell script if condition - Stack Overflow

瀏覽:852
日期:2026-04-22
Shell script if condition up vote 0 down vote favorite I'm writing a script which runs the following command mysql -u root -e "show databases" and this will display a list of databases. If this table doesn't contain a database by name "userdb", it should ...看更多