1、rpm bundel包下载到 /usr/local/src中:[root@localhost src]# ls mysql-5.7.11-1.el6.x86_64.rpm-bundle.tar 2解压缩bundle包[root@localhost src]# tar xf mysql-5.7.1... ...
分类:
数据库 时间:
2016-05-20 23:47:22
阅读次数:
299
一、登陆实例3306mysql-uroot-pljx1-S/data/3306/mysql.sock二、创建授权用户grantallon*.*toroot@‘192.168.1.%‘identifiedby‘123456‘;三、刷新权限flushprivileges;四、下载navicat五、连接
分类:
数据库 时间:
2016-05-20 14:43:32
阅读次数:
218
1、#vi.bash_profile在PATH……后加上mysql启动目录如:PATH=$PATH:$HOME/bin:/usr/local/mysql/bin/2、#wq!保存退出3、logout注销4、重新登陆5、OK
分类:
数据库 时间:
2016-05-18 22:12:41
阅读次数:
202
1、#vi.bash_profile在PATH……后加上mysql启动目录如:PATH=$PATH:$HOME/bin:/usr/local/mysql/bin/2、#wq!保存退出3、logout注销4、重新登陆5、OK
分类:
数据库 时间:
2016-05-18 12:53:13
阅读次数:
1637
1、将服务文件拷贝到init.d下,并重命名为mysql#cp/usr/local/mysql/support-files/mysql.server/etc/init.d/mysql2、赋予可执行权限#chmod+x/etc/init.d/mysql3、添加服务#chkconfig--addmysql4、查看服务列表#chkconfig--list如果看到mysql的服务,并且3,4,5都是on的话则成功..
分类:
数据库 时间:
2016-05-18 12:51:27
阅读次数:
254
最近操作mysql 5.6, 出现了以下问题。 分享,感谢原著: 案例环境: 操作系统 :Red Hat Enterprise Linux Server release 5.7 (Tikanga) 64 bit 数据库版本 : Mysql 5.6.19 64 bit 案例介绍: 今 天开始学习mys ...
分类:
数据库 时间:
2016-05-18 10:26:36
阅读次数:
222
准备工作为了不影响实验效果,提前可以把selinux和iptables关闭[root@localhost~]#chkconfigiptablesoff[root@localhost~]#chkconfigip6tablesoff[root@localhost~]#/etc/init.d/iptablesstop[root@localhost~]#/etc/init.d/ip6tablesstop[root@localhost~]#sed-i"s/LINUX=.*/L..
分类:
数据库 时间:
2016-05-17 13:38:58
阅读次数:
326
1. 安装mysqlcd /usr/local/src/ wget http://syslab.comsenz.com/downloads/linux/mysql-5.1.40-linux-i686-icc-glibc23.tar.gz注意:上面的地址是32位机器用的,如果你的机器是64位,下载这个 ...
分类:
数据库 时间:
2016-05-16 00:11:01
阅读次数:
343
我们通过yum安装一.安装必备1、yumupdate检查一下系统更新
2、yum-yinstallgccgccgcc-c安装编译环境
3、yumerasehttpd卸载系统自带的httpd二.安装Apache[root@localhost~]#yuminstallhttpd配置系统让Apache随系统启动:[root@localhost~]#chkconfig--levels235httpdon配置完毕..
分类:
数据库 时间:
2016-05-15 20:06:56
阅读次数:
305
[root@localhost mysql-server-5.1.73]# cp /usr/share/doc/mysql-server-5.1.73/my-large.cnf /etc/my.cnf
cp: overwrite `/etc/my.cnf'? y
[root@localhost mysql-server-5.1.73]# vim /etc/my.cnf
----------
#...
分类:
数据库 时间:
2016-05-12 22:59:40
阅读次数:
250