如何在 Ubuntu 8.10 上安装 MySQL 5.1?

发布于 2024-08-09 00:44:00 字数 104 浏览 2 评论 0原文

根据各种博客和论坛,您应该能够简单地执行“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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

瞎闹 2024-08-16 00:44:00

从网站下载它,然后按照说明进行操作。
有用。

下载:
链接文本

说明:
链接文本

download it from the site, and follow instruction.
it works.

Downlaod:
link text

Instructions:
link text

平定天下 2024-08-16 00:44:00

转到 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.

苏璃陌 2024-08-16 00:44:00

似乎有一个非官方的存储库。请参阅此 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

染墨丶若流云 2024-08-16 00:44:00

dotdeb.org 上有一个小组 - 他们为 Debian 维护一个 MySQL 5.1 软件包,您可以尝试一下。

首先,将以下行添加到 /etc/apt/sources.list

deb http://packages.dotdeb.org lenny all

然后刷新本地软件包列表:

sudo apt-get update

现在您可以安装该软件包:

apt-get install mysql-server-5.1

如果您有已编辑的 /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

deb http://packages.dotdeb.org lenny all

Then refresh your local list of packages:

sudo apt-get update

Now you can install the package:

apt-get install mysql-server-5.1

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文