求助,安装mysql出错!

由 撒哈拉企鹅 在 03-23-2004 23:57 发表:

求助,安装mysql出错!

我按

二、通过源码包安装mysql

==============================================================

1.下载:当前最新最稳定的版本应该是mysql-4.0.16 ,比如我们在/opt目录下建一个临时的安装目录software,把下载下来的mysql-4.0.16.tar.gz,放到/opt/software/目录中;

[root@linuxsir01 root]# mkdir /opt/software

http://www.mysql.com/get/Downloads/....ihostunit.com/

2.解压、编译和安装:

1]解压

[root@linuxsir01 root]# cd /opt/software

[root@linuxsir01 software]# ls

mysql-4.0.16.tar.gz

[root@linuxsir01 software]#tar zxvf mysql-4.0.16.tar.gz

2]编译和安装:在这个地方值得注意的是,我们要把mysql-4.0.16安装到我们指定的目录中,为了系统和安全和优化,建议把自己用源码包安装的服务器类软件都放在/opt 目录里。所以在这里,我们就要把mysql-4.0.16也安装到/opt/mysql这个目录中;

[root@linuxsir01 software]#cd

[root@linuxsir01 software]# cd mysql-4.0.16

[root@linuxsir01 mysql-4.0.16]#

./configure --prefix=/opt/mysql --with-mysqld-user=beinan --with-charset=gb2312 --with-extra-charsets=all --with-unix-socket-path=/opt/mysql/var/mysql.sock

安装mysql,但最后提示no acceptable c found in # patn.

请问怎么解决。

我用的是redhat AS 3


由 撒哈拉企鹅 在 03-24-2004 11:55 发表:


顶~~~,有人吗?


由 撒哈拉企鹅 在 03-25-2004 00:12 发表:


这个问题解决了!但有新问题:

sqlserver成功安装,却不能运行,出错如下,请帮忙

> PHP源码: > > * * * > >
>
> 040325 00 : 06 : 57 mysqld started
>
> 040325 0 : 06 : 58 Can 't start server : Bind on unix socket: Permission denied
>
> 040325 0:06:58 Do you already have another mysqld server running on socket: /opt/mysql/var/mysql.sock ?
>
> 040325 0:06:58 Aborting
>
>
>
> 040325 0:06:58 /opt/mysql/libexec/mysqld: Shutdown Complete
>
>
>
> 040325 00:06:58 mysqld ended
>
>
>
> 040325 00:08:20 mysqld started
>
> InnoDB: The first specified data file ./ibdata1 did not exist:
>
> InnoDB: a new database to be created!
>
> 040325 0:08:20 InnoDB: Setting file ./ibdata1 size to 10 MB
>
> InnoDB: Database physically writes the file full: wait...
>
> 040325 0:08:22 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
>
> InnoDB: Setting log file ./ib_logfile0 size to 5 MB
>
> InnoDB: Database physically writes the file full: wait...
>
> 040325 0:08:23 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
>
> InnoDB: Setting log file ./ib_logfile1 size to 5 MB
>
> InnoDB: Database physically writes the file full: wait...
>
> InnoDB: Doublewrite buffer not found: creating new
>
> InnoD

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus