文章詳情頁
mysql - 使用使用 LuaRocks 來安裝數(shù)據(jù)庫驅(qū)動(dòng),不知何解
瀏覽:105日期:2022-06-17 14:21:12
問題描述
? ~ luarocks install luasqlError: Your user does not have write permissions in /usr/local/lib/luarocks/rocks-- you may want to run as a privileged user or use your local tree with --local.? ~ luarocks install luasql-mysqlError: Your user does not have write permissions in /usr/local/lib/luarocks/rocks-- you may want to run as a privileged user or use your local tree with --local.
不知道這個(gè)何種揭發(fā),
在用lua的 luarocks時(shí)候安裝一個(gè)數(shù)據(jù)庫驅(qū)動(dòng)
問題解答
回答1:這是權(quán)限問題吧,要么你換root用戶,要么把你要改的那個(gè)文件加上寫屬性
排行榜

熱門標(biāo)簽