1 2 3 4 5 6 7 8 9 10 11
#!/bin/sh exec 2>&1 set -ex export LANG=C.UTF-8 mysql -u root -e 'CREATE DATABASE test' ruby test/test_mysql.rb