centos7:mysql数据库(基本目录结构)

tree /usr/local/mysql/ -L 1
/usr/local/mysql/ (11 directories, 5 files)
├── bin # 存放的是服务器和客户端的程序(命令)
├── COPYING # 跟版权相关的
├── data # 存放数据的目录,由于指定了/mysql/data/,那么这个目录就不再使用了
├── docs # 文档
├── include # 存放的头文件
├── INSTALL-BINARY # MySQL的安装文档
├── lib # 存放库文件
├── man # man手册
├── my.cnf #
├── my-new.cnf #
├── mysql-test # MySQL测试相关
├── README # 简介
├── scripts # 脚本目录
├── share # 共享路径及其他
├── sql-bench # benchmarks性能测试
└── support-files # 模板文件

tree /mysql/data/ -L 1
/mysql/data/ (3 directories, 6 files)
├── Server.uplooking.com.err # 错误日志文件
├── Server.uplooking.com.pid # pid文件
├── auto.cnf #
├── ibdata1 # 系统自己命名的数据文件
├── ib_logfile0 # 系统自己命名的日志文件
├── ib_logfile1 #
├── mysql # 数据库,mysql是必存在
├── performance_schema # 数据库
└── test # 数据库





你可能感兴趣的:(MySQL)