yum install -y MySQL-server mysql mysql-deve
service mysqld start/stop/restart
首次启动, 会有如下的提示信息。其中包括
如何设置开机启动
如何设置root密码(默认为空)
如何配置生产环境
如何设置守护进程
如何测试守护进程
Initializing MySQL database: Installing MySQL system tables...
OK
Filling help tables.
编译安装全是坑……
第一遍装完无法使用pip,报错找不到ssl模块。各种报错:
pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
。。。
configure: error: Invalid –with-openssl value
。。。
结果各种捣鼓。
1、注意cetos6.5自带的openssl版本是1.0.1,需要升级到1.0.