==============================卸载本机已安装的MySQL================================
[root@cloud opt]# rpm -qa | grep -i mysql
MySQL-client-5.5.16-1.rhel4.i386
MySQL-devel-5.5.16-1.rhel4.i386
MySQL-server-5.5.16-1.rhel4.i386

[root@cloud opt]# rpm -e –nodeps MySQL-client-5.5.16-1.rhel4.i386
[root@cloud opt]# rpm -e –nodeps MySQL-devel-5.5.16-1.rhel4.i386
[root@cloud opt]# rpm -e –nodeps MySQL-server-5.5.16-1.rhel4.i386

[root@cloud opt]# rpm -qa | grep -i mysql
[root@cloud opt]#

==========================下载32位MySQL安装包=====================================
wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-server-5.6.17-1.linux_glibc2.5.i386.rpm
wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-client-5.6.17-1.linux_glibc2.5.i386.rpm
wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-devel-5.6.17-1.linux_glibc2.5.i386.rpm

==========================下载64位MySQL安装包=====================================
wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-server-5.6.15-1.el6.x86_64.rpm
wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-devel-5.6.15-1.el6.x86_64.rpm
wget -c http://dev.mysql.com/get/Downloads/MySQL-5.5/MySQL-client-5.6.15-1.el6.x86_64.rpm

==========================执行安装32位MySQL=======================================
rpm -ivh MySQL-server-5.6.17-1.linux_glibc2.5.i386.rpm
rpm -ivh MySQL-client-5.6.17-1.linux_glibc2.5.i386.rpm
rpm -ivh MySQL-devel-5.6.17-1.linux_glibc2.5.i386.rpm

==========================执行安装64位MySQL=======================================
rpm -ivh MySQL-server-5.6.15-1.el6.x86_64.rpm
rpm -ivh MySQL-devel-5.6.15-1.el6.x86_64.rpm
rpm -ivh MySQL-client-5.6.15-1.el6.x86_64.rpm

==========================复制my.cnf至/etc/my.cnf====================================
cp /usr/share/mysql/my-default.cnf /etc/my.cnf

==========================启动MySQL服务和配置=====================================
[root@cloud /]# service mysql start
Starting MySQL.. SUCCESS!

[root@cloud /]# mysql -uroot -p
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.6.17 MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

mysql> SET PASSWORD = PASSWORD(‘123456’);
Query OK, 0 rows affected (0.02 sec)

mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root’@’%’WITH GRANT OPTION;
Query OK, 0 rows affected (0.07 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql> exit
Bye

[root@cloud /]# mysql -uroot -p123456 -hxxx.xxx.xxx.xxx(主机IP地址)
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.6.17 MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

mysql>

=============================MySQL异常问题=====================================
远程无法登陆
[root@cloud /]# service mysql stop
Shutting down MySQL.. SUCCESS!
[root@cloud /]# ps -ef | grep mysql
root 4981 2100 0 Jun07 pts/1 00:00:00 mysql -uroot -px xxxx
root 5282 2100 0 00:02 pts/1 00:00:00 grep mysql
[root@cloud /]# kill -9 4981
[root@cloud /]#
[1]+ 已杀死 mysql -uroot -p123456
[root@cloud /]# service mysql start
Starting MySQL. SUCCESS!

[root@cloud /]# mysql -uroot -p123456 -hxxx.xxx.xxx.xxx(主机IP地址)
Warning: Using a password on the command line interface can be insecure.
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.6.17 MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.

mysql>
================================备注============================================
启动脚本:/etc/init.d/mysql
数据库目录:/var/lib/mysql/
数据库目录:/var/lib/mysql/
配置文件目录:/usr/share/mysql
MySQL Bin目录:/usr/bin

第一步:
打开下载中心-英雄联盟官方网站-腾讯游戏
http://lol.qq.com/download.shtml
查看当前最新客户端下载
当前版本:v3.1.8.6 | 更新日期:2016-05-10 | 文件大小:5.4GB

第二步:
替换修改当前版本号(红色部分)
复制到迅雷
http://down.qq.com/lol/full/LOL_V3.1.8.6_FULL.exe
http://down.qq.com/lol/full/LOL_V3.1.8.6_FULL.7z.001
http://down.qq.com/lol/full/LOL_V3.1.8.6_FULL.7z.002
http://down.qq.com/lol/full/LOL_V3.1.8.6_FULL.7z.003
即可下载完整客户端至本地
双击LOL_V3.1.8.6_FULL.exe进行完整客户端安装

第三步:
打开英雄联盟官方助手-LOL助手
http://tgp.qq.com/lol.shtml

直接复制到迅雷
http://dldir1.qq.com/tgc/tgp/full/TGPSetup.exe

1.断开iPhone数据线与电脑连接。

2.选择任务栏开始->运行(或直接使用快捷键Win+R)输入“cmd

3.在“cmd控制台”中输入以下命令(可复制粘贴)
输入:Net localgroup Administrators local service /add
提示:命令成功完成。

4.重新插入iPhone数据线此时iTunes即可正常识别iPhone,同时在Windows资源管理器中可以查看图标变成iPhone图标。

5.撤销以上操作步骤,请重复第2步骤在第3步骤
输入:Net localgroup Administrators local service /delete
提示:命令成功完成。

请下载用于 Windows 7 中的 Internet Explorer 11 的累积安全更新程序 (KB2957689)
32位Win7 用于 Windows 7 中的 Internet Explorer 11 的累积安全更新程序 (KB2957689)
64位Win7 用于基于 x64 系统的 Windows 7 的 Internet Explorer 11 的累积安全更新程序 (KB3008923)

如何在添加删除程序中隐藏已安装的程序??
在注册表中,开始-运行->regedit调出注册表编辑器
依次打开找到[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Unistall]删除你要隐藏的项目即可。
也可以将要删除的项目右侧窗口中DisplayName的子键重命名为QuietDisplayName,想恢复的话再改回原来名字即可这样在添加删除程序中就找不到该程序的修改\删除项了。

找不到隐藏的文件夹:

开始-运行 ->regedit 依次展开:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL
将选项 CheckedValue 的值改成 1