Linux/小技集/MySQLコマンドをShellスクリプトで実行する – 開発者向け Wiki

Linux/小技集/MySQLコマンドをShellスクリプトで実行する – 開発者向け Wiki

MySQLコマンドをShellスクリプトで実行する † ユーザ新規追加 mysql_adduser.sh #!/bin/sh if [ $# -ne 3 -a $# -ne 4 ]; then echo "$0 <rootpassword> <user> <password> [host]" exit 1 fi if [ $# -eq 3 ]; then HOST="localhost" else…

はてなブックマーク - Linux/小技集/MySQLコマンドをShellスクリプトで実行する - 開発者向け Wiki はてなブックマークに追加

masa-zx masa-zx

タイトルとURLをコピーしました