同步分享在PTT:https://www.ptt.cc/bbs/Laser_eye/M.1694323374.A.C0A.html
會這時後才分享雷射心得是因為我覺得一年應該算是一個穩定基期,
以下是過去一年所經歷過的真實情境。
文很長….. (真的很長,因為我是當時就記錄下來,當時無法看手機就用語音記錄,現在也算是自己的一種回顧) 如果有傳達到錯誤的觀念或意思,再麻煩告知,感謝。
年紀大了有些事容易忘記... 所以.....
同步分享在PTT:https://www.ptt.cc/bbs/Laser_eye/M.1694323374.A.C0A.html
會這時後才分享雷射心得是因為我覺得一年應該算是一個穩定基期,
以下是過去一年所經歷過的真實情境。
文很長….. (真的很長,因為我是當時就記錄下來,當時無法看手機就用語音記錄,現在也算是自己的一種回顧) 如果有傳達到錯誤的觀念或意思,再麻煩告知,感謝。
當 MySQL 使用 InnoDB 模式卻又發生 ibdata ib_logfile0 ib_logfile1 誤刪或損毀時該如何資料復原?
如果是 MyISAM 模式的話,只要把DB資料夾複製回去就能還原,但 InnoDB 這樣是沒有效果的,可能會發生看的到資料表,但是 select 時又告訴你 table doesn't exist
首先,先備份mysql資料檔案
#cp -a /var/lib/mysql /var/lib/mysql_backup
{
"issued_to": "304507854622-ismvsavqhsn20o3mjlqrabcdef.apps.googleusercontent.com",
"audience": "304507854622-ismvsavqhsn20o3mjlqrabcdef.apps.googleusercontent.com",
"user_id": "104327134143115766667",
"scope": "https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile openid",
"expires_in": 2759,
"email": "test@gmail.com",
"verified_email": true,
"access_type": "online"
}
{
"iss": "accounts.google.com",
"azp": "304507854622-ismvsavqhsn20o3mjlqrabcdef.apps.googleusercontent.com",
"aud": "304507854622-ismvsavqhsn20o3mjlqrabcdef.apps.googleusercontent.com",
"sub": "104327134143115766667",
"email": "test@gmail.com",
"email_verified": "true",
"at_hash": "lWpP3_u1QrfRHmF82140A",
"name": "Superman",
"picture": "https://lh6.googleusercontent.com/photo.jpg",
"given_name": "Man",
"family_name": "Super",
"locale": "zh-TW",
"iat": "1562689809",
"exp": "1562693409",
"jti": "a2b26562f211c2d329d0b121254dc5205d7e252b5",
"alg": "RS256",
"kid": "6e5508d27965ad7907c3322a48ed763727e",
"typ": "JWT"
}