Blogger Information
Blog 9
fans 0
comment 0
visits 8813
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
7创建管理员
phpgit的博客
Original
1019 people have browsed it

1创建数据库dljufanbo

创建数据表 user  

QQ截图20180122232100.png

插入两个记录

QQ截图20180122231026.png 

-- phpMyAdmin SQL Dump
-- version phpStudy 2014
-- http://www.phpmyadmin.net
--
-- ä¸»æœº: localhost
-- ç”Ÿæˆæ—¥æœŸ: 2018 å¹?01 æœ?22 æ—?15:48
-- æœåŠ¡å™¨ç‰ˆæœ¬: 5.5.53
-- PHP ç‰ˆæœ¬: 5.5.38

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- æ•°æ®åº“: `dljufanbao`
--

-- --------------------------------------------------------

--
-- è¡¨çš„结构 `user`
--

CREATE TABLE IF NOT EXISTS `user` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(50) NOT NULL,
  `password` varchar(32) NOT NULL,
  `email` varchar(255) NOT NULL,
  `create_time` int(11) NOT NULL,
  `update_time` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

--
-- è½¬å­˜è¡¨ä¸­çš„数据 `user`
--

INSERT INTO `user` (`id`, `name`, `password`, `email`, `create_time`, `update_time`) VALUES
(1, 'admin', 'e10adc3949ba59abbe56e057f20f883e', 'asdf1@qq.com', 1516634648, 1516634648),
(2, 'root', 'e10adc3949ba59abbe56e057f20f883e', '2323@qq.com', 1516634648, 1516634648);

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post