ubuntu下怎么安装mysql-5.1.35.tar.gz啊!
-
- 帖子: 3
- 注册时间: 2009-07-10 9:12
ubuntu下怎么安装mysql-5.1.35.tar.gz啊!
各位大哥,小弟是个新手,想安装mysql-5.1.35.tar.gz程序,可是在网上查了,总查不到安装方法,请大家帮帮忙好吧。 小弟在此先谢过了!:em06
- be00
- 帖子: 805
- 注册时间: 2008-07-28 19:51
- 来自: 长沙
- 联系:
Re: ubuntu下怎么安装mysql-5.1.35.tar.gz啊!
这个是从源代码方式安装,如果你不是很懂的话,建议用稍微傻瓜的方式吧:
sudo apt-get install mysql-server
或者打开“新立得软件包管理器”,查找mysql后安装也行
sudo apt-get install mysql-server
或者打开“新立得软件包管理器”,查找mysql后安装也行
- sciolist
- 帖子: 43
- 注册时间: 2009-04-25 14:41
- 系统: Ubuntu 12.04
- 来自: Shanghai,China
- 联系:
-
- 帖子: 20
- 注册时间: 2008-03-31 17:47
- 来自: 上海市
- 联系:
-
- 帖子: 2
- 注册时间: 2009-05-22 16:46
Re: ubuntu下怎么安装mysql-5.1.35.tar.gz啊!
先学傻瓜化安装啊
sudo apt-get install mysql-server
sudo apt-get install mysql-server
-
- 帖子: 2
- 注册时间: 2010-01-05 16:18
Re: ubuntu下怎么安装mysql-5.1.35.tar.gz啊!
官方文档上不是有吗?写的很清楚了啊
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe --user=mysql &
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe --user=mysql &
-
- 帖子: 9
- 注册时间: 2010-01-25 14:39
Re: ubuntu下怎么安装mysql-5.1.35.tar.gz啊!
xjapan_gunsnroses 写了:官方文档上不是有吗?写的很清楚了啊
shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /path/to/mysql-VERSION-OS.tar.gz | tar xvf -
shell> ln -s full-path-to-mysql-VERSION-OS mysql
shell> cd mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe --user=mysql &