文章详情页
mysql - 使用使用 LuaRocks 来安装数据库驱动,不知何解
浏览:30日期: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.
不知道这个何种揭发,
在用lua的 luarocks时候安装一个数据库驱动
问题解答
回答1:这是权限问题吧,要么你换root用户,要么把你要改的那个文件加上写属性
排行榜