Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用休眠模式更新器生成了名为 diff.sql 的 sql 文件。如何使用 shell 脚本将此 diff.sql 文件应用到我的数据库。谢谢
$ mysql -u "${username}" -p "${database}" < diff.sql