URN Logo
UNIX Resources » Linux » China Linux Forum » LINUX平台数据库 » 第8页 » 安装mysql遇到一问题!!请各位帮忙!!
announcement 声明: 本页内容为中国Linux论坛的内容镜像,文章的版权以及其他所有的相关权利属于中国Linux论坛和相应文章的作者,如果转载,请注明文章来源及相关版权信息。
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
安装mysql遇到一问题!!请各位帮忙!!
 
 
 
 
Subject: 安装mysql遇到一问题!!请各位帮忙!!
Author: kitmik    Posted: 2004-05-08 15:53    Length: 1,249 byte(s)
[Original] [Print] [Top]
我的安装哪里出现问题了~~~~~请各位帮忙~~~

我下载的是
mysql-standard-4.1.1-alpha-pc-linux-i686.tar.gz
我的系统是
RedHat 9


首先,我在/usr/local下面建立了一个 mysql的文件夹

然后,我把tar包中的所有mysql文件解到了mysql文件夹中

我设定PATH

MySQL_bin=/usr/local/mysql
PATH=$PATH:$MySQL_bin/bin

MySQL_scripts=/usr/local/mysql
PATH=$PATH:$MySQL_scripts/scripts

export MySQL_bin MySQL_scripts

重起电脑后:

[root@localhost root]# mysqladmin
mysqladmin Ver 8.40 Distrib 4.1.1-alpha, for pc-linux on i686
Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
.....................

[root@localhost root]# mysql
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

以上是我所有的安装过程,请问在哪里出现问题了~~为什么配置不出来呢?
[Original] [Print] [Top]
Subject: Re: 安装mysql遇到一问题!!请各位帮忙!!
Author: sunriver    Posted: 2004-05-10 12:47    Length: 25 byte(s)
[Original] [Print] [Top]
mysqld起来了吗.
[Original] [Print] [Top]
Subject: Re: 安装mysql遇到一问题!!请各位帮忙!!
Author: kitmik    Posted: 2004-05-11 10:27    Length: 110 byte(s)
[Original] [Print] [Top]
没有~~~不知道为什么~~~

就是配置不成功呀~~~


我试了好多办法了~~~
[Original] [Print] [Top]
Subject: Re: 安装mysql遇到一问题!!请各位帮忙!!
Author: flash    Posted: 2004-05-17 13:29    Length: 184 byte(s)
[Original] [Print] [Top]
对你提出批评!!多少年的老问题了?还在这里问。

安装文档没仔细看吧!!呵呵。废话少说告诉你答案。
把mysql目录的属性改一下。/mysql/var属性也改成mysql用户所有。
----
_________________
[Original] [Print] [Top]
« Previous thread
PostgreSQL下,选择php还是java?
LINUX平台数据库
8
Next thread »
怎么用中文来设置enum()类型的值?
     

Copyright © 2018 UNIX Resources Network, All Rights Reserved.    About URN | Privacy & Legal | Help | Contact us