没有 root 访问权限的 mysqlworkbench
我有一个用于 ssh 访问的完整普通用户帐户,并且我想使用 mysqlworkbench 的 mysqldbcompare(或其他一些 cli 工具,如果存在)的 mysql diff 功能。问题是我没有 root 访问权限。我可以将其安装在我的普通用户帐户中,以便我可以比较该服务器上的数据库吗?
I have a full normal user account for ssh access and I'd like to use the mysql diff capability of mysqlworkbench's mysqldbcompare (or some other cli tool if it exists). The problem is I don't have root access. Can I install this in my normal user account so I can compare my DB's on that server?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
执行此类操作的最佳方法是使用系统的包管理器以 root 身份安装它们,但我确信您知道:P
我从 他们的网站,它使用传统的
configure
脚本。我已经使用configure
脚本在非特权用户帐户中安装了程序,实际上是整个生态系统。通常所需要做的就是指定要安装文件的位置:有时您还必须安装依赖项。然后确保相应地设置
LD_LIBRARY_PATH
。根据您使用的发行版,您甚至可以将软件包安装到您的主目录: 查看此问题
The best way to do such things is to install them as root using the system's package manager, but I'm sure you know that :P
I downloaded the source code from their website, and it uses a traditional
configure
script. I have installed programs, in fact whole ecosystems, in unprivileged user accounts usingconfigure
scripts. Usually all it takes is to specify where you want files to be installed:Sometimes you have to install dependencies too. Then make sure to set
LD_LIBRARY_PATH
accordingly.Depending on the distro you're using, you can even install packages to your home directory: see this question