如何在 Ubuntu 8.10 上安装 MySQL 5.1?
根据各种博客和论坛,您应该能够简单地执行“sudo apt-get install mysql-server-5.1”。
但我尝试过,但不起作用(找不到该名称的包)。我缺少什么?
According to various blogs and forums, you should be able to do simply "sudo apt-get install mysql-server-5.1".
But I tried and it doesn't work (package not found by this name). What am I missing?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
从网站下载它,然后按照说明进行操作。
有用。
下载:
链接文本
说明:
链接文本
download it from the site, and follow instruction.
it works.
Downlaod:
link text
Instructions:
link text
转到 Administration Synaptic Package Manager 并搜索 MySql。您将能够看到mysql-server,版本是5.1.3。
如果您执行“sudo apt-get install mysql”,它将安装 Mysq 5.1.3,您也可以尝试安装“sudo apt-get install mysql-server-5.1”,
同时您还可以为您的设备安装模块/驱动程序。最喜欢的语言。
Go to Administration Synaptic Package Manager and search for MySql. You will be able to see mysql-server and the version is 5.1.3.
If you do a 'sudo apt-get install mysql' it will Mysq 5.1.3, you can also try and install 'sudo apt-get install mysql-server-5.1'
While you are there you can also install modules/drivers for your fav language.
似乎有一个非官方的存储库。请参阅此 Ubuntu 论坛帖子:http://ubuntuforums.org/showthread。 php?t=1039946&highlight=mysql+5.1
It seems that there is a inofficial repository. See this Ubuntu Forums post: http://ubuntuforums.org/showthread.php?t=1039946&highlight=mysql+5.1
dotdeb.org 上有一个小组 - 他们为 Debian 维护一个 MySQL 5.1 软件包,您可以尝试一下。
首先,将以下行添加到 /etc/apt/sources.list
然后刷新本地软件包列表:
现在您可以安装该软件包:
如果您有已编辑的 /etc/mysql/my.cnf 版本,安装程序会询问您是否要更换它。我替换了它并做了注释,将 --bind-address = 127.0.0.1 行修复到服务器的 ip addr,以便我可以通过网络进行连接。
There's a group at dotdeb.org - they maintain a MySQL 5.1 package for Debian that you might try.
First, add the following line to your /etc/apt/sources.list
Then refresh your local list of packages:
Now you can install the package:
If you have a version of /etc/mysql/my.cnf that you have edited, the install will ask you if you want it replaced. I replaced it and made a note to fix the --bind-address = 127.0.0.1 line to the server's ip addr so I can connect over the network.