bash中执行SQL语句返回一个值
摘要:mysql --defaults-extra-file=/data/my.password --batch -N -h127.0.0.1 -Ddb1 -e"select uname from t1 where id =12;" --defaults-extra-file指定数据库连接的用户 my.p
阅读全文
posted @ 2020-10-28 14:23
posted @ 2020-10-28 14:23
posted @ 2020-10-26 14:51
posted @ 2020-10-13 19:32