Skip to content

Instantly share code, notes, and snippets.

@why168
Created July 10, 2017 08:59
Show Gist options
  • Save why168/7ac5e831d56c79d139264871c09ee70e to your computer and use it in GitHub Desktop.
Save why168/7ac5e831d56c79d139264871c09ee70e to your computer and use it in GitHub Desktop.
数据库配置文件
<?php
header("content-type:text/resources;charset=utf-8");
define("DB_HOST", '127.0.0.1:3306');
define("DB_USERNAME", 'root');//数据库的用户名
define("DB_PASSWORD", 'root');//数据库的密码
define("DB_NAME", 'hair_db');//数据库的名称
define("DB_CHARSET", 'utf8');//编码方式
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment