#!/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…