跳至主要內容

文章

顯示包含「CentOS」標籤的文章

CentOS 6更新問題 :YumRepo Error: All mirror URLs are not using ftp, http[s] or file.

Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/i386/6/base/mirrorlist.txt Error: Cannot find a valid baseurl for repo: base CentOS 6 在系統更新、安裝新Package的時候 遇到 YumRepo Error: All mirror URLs are not using ftp, http[s] or file. 因為CentOS 6 在2020年11月30後官方就不提供維護了,連帶著yum套件庫也無法使用 需要做簡單的更換 參考來源: https://segmentfault.com/a/1190000039199938 https://arstech.net/centos-6-error-yumrepo-error-all-mirror-urls-are-not-using-ftp-http/

MySQL ERROR 1064 (42000) at line 10987

  [Problem]: ERROR 1064 (42000) at line 10987: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,  `user_host' at line 2 [Situation]: 匯入資料庫發生錯誤 [Solution ]: 直接進入資料庫匯入檔案 mysql -u root -p  use 欲使用資料庫名字 ; set names utf8 ; source 要匯入的檔案位置