QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 669|回复: 3

A problem of install mysql in redhat 8.0

[复制链接]
发表于 2003-1-20 10:37:25 | 显示全部楼层 |阅读模式
I have downloaded mysql source(mysql-4.0.9-gamma), and confinged it (./confiure --prefix=/usr/local/mysql), then made it , intalled it (make==>make install).

After installed it, I itialized mysql(./mysql_intall_db). Then ran the command of mysql, but Linux told me can not find "mysql.sock", so I can use mysql database.

Please tell me what is problem with it.

Yours truly
Ant_Bug
发表于 2003-1-20 15:51:10 | 显示全部楼层
在 my.cnf 里面的 [client]、 [mysqld] 节都象这样指定一下:
socket                  = /var/lib/mysql/mysql.sock
回复

使用道具 举报

发表于 2003-1-22 12:13:58 | 显示全部楼层

Re: A problem of install mysql in redhat 8.0

[quote:3aa29af994="antbug"]I have downloaded mysql source(mysql-4.0.9-gamma), and confinged it (./confiure --prefix=/usr/local/mysql), then made it , intalled it (make==>make install).

After installed it, I itialized mysql(./mysql_intall_db). Then ran the command of mysql, but Linux told me can not find "mysql.sock", so I can use mysql database.

Please tell me what is problem with it.

Yours truly
Ant_Bug[/quote]

先启动mysql server, 这样你才可以用mysql命令(client)去联接
回复

使用道具 举报

发表于 2003-1-22 15:32:56 | 显示全部楼层
你好像要先启动mysql。。好像是mysqld吧
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-17 12:49 , Processed in 0.039191 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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