簡體   English   中英

嘗試更改表時出現奇怪的MySQL錯誤

[英]Weird MySQL error when trying to alter tables

我收到此錯誤。 我嘗試了Googling,通過StackOverflow搜索,但是找不到相同的錯誤代碼。 這是我得到的:

#7 - Error on rename of './wp_data/products_per_store.frm' to './wp_data/#sql2-c16-40.frm' (Errcode: 1)

嘗試運行此查詢時:

ALTER TABLE `products_per_store`
DROP `brand`,
DROP `upc`, 
DROP `price_increase`, 
DROP `price_decrease`, 
DROP `oos_certeincomp`, 
DROP `oos_allcomp`, 
DROP `flagged`, 
DROP `optimal`, 
DROP `low`;

我在Linux上使用XAMPP(如果需要的話,是Fedora 18)。 我嘗試更改文件權限,但無濟於事,重啟MySQL也沒有。

在玩弄了各種權限之后,這就是交易。

MySQL在Linux上的用戶nobody(不是我想象的mysql)下運行,將目錄及其后代的所有者更改為沒有人可以使用 還要確保權限至少為755。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM