Home  >  Article  >  Database  >  在Linux上安装MySQLServer5.0

在Linux上安装MySQLServer5.0

WBOY
WBOYOriginal
2016-06-07 16:54:54968browse

我使用binary进行安装,文件名mysql-standard-5.0.18-linux-i686-glibc23.tar.gz[1]将上述文件解压到某处,并将MySQL所以目录名改

我使用binary进行安装,文件名




// 变更所有权;

的错误,那么可能有以下几种情况:
[1]mysql.sock并不在/tmp目录下,而是在其它某个目录下(如,/var/lib/mysql目录)。这时只需要将这个mysql.sock做链接到/tmp目录下,运行命令:
ln -s MYSQL.SOCK_PATH /tmp/mysql.sock
[2]在同学的笔记本的Linux中,会在/tmp下生成mysql.sock,但重新启动Linux后,该文件被删除。这时也可以用情况2中的解决方法,或者每次都运行命令:
./mysqld_safe --user=mysql &

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn