RHEL5(Red_Hat_Enterprise_Linux5)下mysql源码安装
# cp support-files/mysql.server /etc/init.d/mysql
# cp support-files/my-medium.cnf /etc/my.cnf
11、启动mysql
# ./usr/local/mysql/share/mysql/bin/mysql.server start
12、设置mysql的root密码
# /usr/local/mysql/bin/mysqladmin -u root password ******
13、登录mysql
#./usr/local/mysql/bin/mysql -u root -p
然后输入密码
14、让mysql通过ip也可以访问
mysql> UPDATE mysql.user SET Host='%' WHERE Host='localhost' ; mysql>GRANT ALL PRIVILEGES ON *.* TO root@"%";
mysql> FLUSH PRIVILEGES ;
15、让mysql开机自动启动
修改/etc/rc.local文件在 touch /var/lock......(最后一行)的上方添加以下配置 /usr/local/mysql/share/mysql/bin/mysql.server start
16、让mysql的反应速度提高在/etc/my.cnf文件中的[mysqld]最下方添加以下配置
[mysqld]
skip-name-resolve
skip-grant-tables
2、安装 MySQL rpm 文件是 Red Hat 公司开发的软件安装包,rpm 可让 Linux ...增加了密码后的登录格式如下: mysql -u root -p Enter password: (输入密码)...
MySql5.5.8 for RHEL5 安装_计算机软件及应用_IT/计算机_专业资料。mysql的...安装前准备 1.1. 软件版本:Red Hat Enterprise Linux Server release 5.4 (...
[rhel-debuginfo] name=Red Hat Enterprise Linux ...安装配置 MYSQL [root@localhost htdocs]# cd /...# mysql -u root -p Enter password: (输入 ...
[rhel-debuginfo] name=Red Hat Enterprise Linux ...awstats_updateall.pl now Press ENTER to continue...crazylinux.com/awstats.html 7、安装配置 MYSQL [...
LINUX环境下MYSQL5.5.X源码安装_计算机软件及应用_IT/计算机_专业资料。LINUX... 在vmware下安装redhat l... 5页 免费 Ubuntu(Linux)下如何用源... 2页 ...
RHEL5下通过Cmake安装Mysql_计算机软件及应用_IT/...mysql/bin/mysqladmin -u root password 'redhat'...Enter password: mysql> show databases; +---+ ...
Red_Hat_Enterprise_Linux_5_安装手册_IT/计算机_专业资料。Red_Hat_Enter...安装手册虚拟机设置在 VMware Workstation 上安装 RHEL5,首先新建虚拟机,建立步骤...
3. MySQL 的安装 MySQL 有两种安装方式:源码包安装...本 文使用的是 Red Hat Enterprise Linux 5 RPM ...0.rhel5.i 386.rpm wget http://mysql.mirrors....
rhel5.6+postfix+dovecot+mysql(全RPM安装)_计算机软件及应用_IT/计算机_...前言本系统基于 Red Hat Enterprise Linux 5.6(rhel5.6) Centos 5.6 类似...
Linux CentOS6.5下源码安装多个Mysql5.6_计算机软件及应用_IT/计算机_专业资料。Linux CentOS6.5下源码安装多个Mysql5.6Linux CentOS6.5 源码安装多个 Mysql...
热门文档