LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 837|回复: 6

mysql-3.23.44-pc-linux-gnu-i686.tar.gz什么格式

[复制链接]
发表于 2005-6-17 11:22:53 | 显示全部楼层 |阅读模式
问问大家这个是什么格式.怎么安装写的具体点谢谢
发表于 2005-6-17 14:58:46 | 显示全部楼层
这是源码。
多看基础。。。。
回复 支持 反对

使用道具 举报

发表于 2005-6-17 17:05:06 | 显示全部楼层
表想当然,源码名称中还会有平台(linux),架构(i686)啊。
回复 支持 反对

使用道具 举报

发表于 2005-6-18 00:10:34 | 显示全部楼层
http://downloads.mysql.com/archi ... -3.23&v=3.23.44

这个应该是预编绎的二进制版本。安装过程可以看manual,建议使用4.0.x版本,至于4.1.x搞不定编码。

编绎php时,加一项就可以了

'--with-mysql=shared,/w3/mysql' \

The basic commands you must execute to install and use a MySQL binary distribution are:

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

If you would like to use mysqlaccess and have the MySQL distribution in some non-standard place, you must change the location where mysqlaccess expects to find the mysql client. Edit the `bin/mysqlaccess' script at approximately line 18. Search for a line that looks like this:
$MYSQL     = '/usr/local/bin/mysql';    # path to mysql executable

Change the path to reflect the location where mysql actually is stored on your system. If you do not do this, you will get a Broken pipe error when you run mysqlaccess.

shell> scripts/mysql_install_db
shell> chown -R root  .
shell> chown -R mysql data
shell> chgrp -R mysql .
cp support-files/my-medium.cnf /etc/my.cnf
shell> bin/safe_mysqld --user=mysql &
or
shell> bin/mysqld_safe --user=mysql &
if you are running MySQL 4.x
回复 支持 反对

使用道具 举报

发表于 2005-6-18 00:22:42 | 显示全部楼层
刚接触看这个都会头大吧,
记得我以前看到文件名那么多的“."就怕了。
回复 支持 反对

使用道具 举报

发表于 2005-6-18 10:20:09 | 显示全部楼层
Post by troll
表想当然,源码名称中还会有平台(linux),架构(i686)啊。


没详细看,只看了后面。
回复 支持 反对

使用道具 举报

发表于 2005-6-18 10:25:43 | 显示全部楼层
回贴不能太快啊,共勉  :p
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表