centos5 mysql_Centos5下MySQL的安装步骤

Centos5下MySQL的安装步骤创建mysql用户组和用户[root@centos ]# groupadd mysql[root@centos ]# useradd -g mysql mysql[root@centos ]# c

logo.jpg

首页 → 数据库技术

背景:

阅读新闻

Centos5下MySQL的安装步骤

[日期:2008-01-05]

来源:Linux公社

作者:Linux

[字体:]

CentOS5下MySQL的安装步骤

创建mysql用户组和用户

[root@centos ]# groupadd mysql

[root@centos ]# useradd -g mysql mysql

[root@centos ]# cd homexule

[root@centos ]# chmod 755 mysql-5.0.22.tar.gz

编译并安装MySQL

[root@centos ]# tar zxvf mysql-5.0.22.tar.gz

[root@centos ]#cd mysql-5.0.22

[root@centos mysql-5.0.22] .configure --prefix=usrlocalmysql

[root@centos mysql-5.0.22] make

[root@centos mysql-5.0.22] make install

配置并启动MySQL

[root@centos mysql-5.0.22]# cp support-filesmy-medium.cnf etcmy.cnf

[root@centos mysql-5.0.22]# cd usrlocalmysql

[root@centos mysql]# binmysql_install_db --user=mysql

Installing all prepared tables

Fill help tables

To start mysqld at boot time you have to copy support-filesmysql.server

to the right place for your system

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !

To do so, start the server, then issue the following commands

usrlocalmysqlbinmysqladmin -u root password 'new-password'

usrlocalmysqlbinmysqladmin -u root -h centos.job100.com password 'new-password'

See the manual for more instructions.

You can start the MySQL daemon with

cd usrlocalmysql ; usrlocalmysqlbinmysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory

cd sql-bench ; perl run-all-tests

Please report any problems with the usrlocalmysqlbinmysqlbug script!

The latest information about MySQL is available on the web at

http

Support MySQL by buying supportlicenses at httpshop.mysql.com

[root@centos mysql]# binmysqld_safe --user=mysql &

[1] 20100

[root@centos mysql]# Starting mysqld daemon with databases from usrlocalmysqlvar

logo.gif

0

Ubuntu 7.10下配置mysql

我的MySQL数据库学习小结

相关资讯

mysql centos5

图片资讯

本文评论

查看全部评论 (1)

评论声明

第 1 楼

最新资讯

本周热门

Linux公社简介 - 广告服务 - 网站地图 - 帮助信息 - 联系我们

本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。

Copyright © 2006-2011 Linux公社 All rights reserved 浙ICP备06018118号

本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉

本文系统来源:php中文网

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值