mysql/redis 安装 使用笔记

来源:互联网 发布:哪里有卖淘宝买家信息 编辑:程序博客网 时间:2024/06/08 19:11

Mysql -u user=root
SET PASSWORD FOR ‘root’@’localhost’ = PASSWORD(‘VedioTeam@cc2016!’);

Redis-server ./redis.conf
Redis-cli
Auth wmjwmj

09e4318edd983a690bbfb1a8ce930390

VedioTeam@2016!

http://www.myhack58.com/Article/48/66/2014/44759.htm
1、使用 service 启动:service mysqld start

2、使用 mysqld 脚本启动:/etc/inint.d/mysqld start

3、使用 safe_mysqld 启动:safe_mysqld&

二、停止

1、使用 service 启动:service mysqld stop

2、使用 mysqld 脚本启动:/etc/inint.d/mysqld stop

3、 mysqladmin shutdown

三、重启

1、 使用 service 启动:service mysqld restart

2、使用 mysqld 脚本启动:/etc/inint.d/mysqld restart


mysql error old pre-4.1 authentication protocol not supported,
/etc/my.cnf

#old_passwords=1

redis make error
不支持x86-64
找到march 去掉 i686