mysql 命令管理

新建数据库制定编码:

GBK: create database test2 DEFAULT CHARACTER SET gbk COLLATE gbk_chinese_ci;

UTF8: CREATE DATABASE `test2` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci

apache服务重启:

  service httpd start 启动
  service httpd restart 重新启动
  service httpd stop 停止服务

nginx服务重启:(平滑重启)

 /usr/nginx/sbin/nginx -s reload   

 


                            

你可能感兴趣的:(mysql)