#!/bin/bash# MySQL credentialsUSER="root"#账号PASSWORD="123456"#密码DATABASE="test"#数据库名BACKUP_FILE="/home/dev/mysql/test-2024-06-04.sql.sql"#数据库备份的目录# Run mysql to restore
mysql -u$USER -p$PASSWORD$DATABASE<$BACKUP_FILE# Check if the command succeededif[$?-eq0];thenecho"Restore succeeded: $DATABASE"elseecho"Restore failed"fi
Why isnt there a SendThreadMessage function? - The Old New Thing (microsoft.com)https://devblogs.microsoft.com/oldnewthing/20081223-00/?p19743
Raymond Chen 2008年12月23日 为什么没有 SendThreadMessage 函数? 简要 文章讨论了 Windows 中不存在 Sen…