-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mysql_history
115 lines (115 loc) · 7.35 KB
/
.mysql_history
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
create database mldb;
use mldb
-- MySQL dump 10.13 Distrib 5.5.47, for debian-linux-gnu (x86_64)
--
-- Host: 0.0.0.0 Database: mldb
-- ------------------------------------------------------
-- Server version5.5.47-0ubuntu0.14.04.1
/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `posttags`
--
DROP TABLE IF EXISTS `posttags`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `posttags` (
`CompositePostID` int(11) NOT NULL,
`CompositeTagID` int(11) NOT NULL,
PRIMARY KEY (`CompositePostID`,`CompositeTagID`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `posttags` ( `CompositePostID` int(11) NOT NULL, `CompositeTagID` int(11) NOT NULL, PRIMARY KEY (`CompositePostID`,`CompositeTagID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `posttags`
--
LOCK TABLES `posttags` WRITE;
/*!40000 ALTER TABLE `posttags` DISABLE KEYS */;
INSERT INTO `posttags` VALUES (47,9),(47,20),(47,43),(48,9),(48,15),(49,9),(49,13),(49,22),(50,9),(50,16),(50,17),(50,25),(51,8),(51,12),(51,18),(52,9),(52,23),(53,9),(53,17),(53,25),(54,8),(54,23),(54,24),(55,9),(55,25),(55,26),(56,8),(56,27),(57,9),(57,30),(58,9),(58,13),(58,22),(58,26),(59,9),(59,26),(59,32),(59,46);
/*!40000 ALTER TABLE `posttags` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tags`
--
DROP TABLE IF EXISTS `tags`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tags` (
`TagID` int(11) NOT NULL AUTO_INCREMENT,
`Name` varchar(200) DEFAULT NULL,
`addedAutomatically` tinyint(1) DEFAULT '0',
PRIMARY KEY (`TagID`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=latin1;
CREATE TABLE `tags` ( `TagID` int(11) NOT NULL AUTO_INCREMENT, `Name` varchar(200) DEFAULT NULL, `addedAutomatically` tinyint(1) DEFAULT '0', PRIMARY KEY (`TagID`) ) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tags`
--
LOCK TABLES `tags` WRITE;
/*!40000 ALTER TABLE `tags` DISABLE KEYS */;
INSERT INTO `tags` VALUES (8,'Self_Post',1),(9,'Link_Post',1),(10,'AMA',0),(11,'Action_Alert',0),(12,'LTA',0),(13,'Parental_Leave',0),(14,'Meta',0),(15,'Fertility',0),(16,'Black_Men',0),(17,'Health_Care',0),(18,'Virgin_Shaming',0),(20,'Incarceration',0),(21,'US',0),(22,'Fathers',0),(23,'Body_Image_Issues',0),(24,'Penis_Size_Shaming',0),(25,'Pressure_to_Act_Tough',0),(26,'Media_Depictions',0),(27,'Domestic_Violence',0),(28,'LGBTQ',0),(29,'Relationships',0),(30,'Addiction',0),(31,'Eating_Disorders',0),(32,'Mental_Health',0),(33,'Homelessness_',0),(34,'Suicide',0),(35,'Disability',0),(36,'Veterans_',0),(37,'Feminism',0),(38,'PTSD',0),(39,'Trans_Men',0),(40,'Gay_Men',0),(41,'Sexual_Abuse',0),(42,'Selective_Service',0),(43,'Legal_Issues',0),(44,'Sex',0),(45,'MRM',0),(46,'Emotional_Literacy',0),(47,'Friendship/Companionship',0),(48,'Criminal_Law',0),(49,'Family_Law',0),(50,'Custody',0);
/*!40000 ALTER TABLE `tags` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tempPosts`
--
DROP TABLE IF EXISTS `tempPosts`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tempPosts` (
`PostID` int(11) NOT NULL AUTO_INCREMENT,
`URL` varchar(1000) DEFAULT NULL,
`CommentSectionId` varchar(10) DEFAULT NULL,
PRIMARY KEY (`PostID`)
) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=latin1;
CREATE TABLE `tempPosts` ( `PostID` int(11) NOT NULL AUTO_INCREMENT, `URL` varchar(1000) DEFAULT NULL, `CommentSectionId` varchar(10) DEFAULT NULL, PRIMARY KEY (`PostID`) ) ENGINE=InnoDB AUTO_INCREMENT=60 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tempPosts`
--
LOCK TABLES `tempPosts` WRITE;
/*!40000 ALTER TABLE `tempPosts` DISABLE KEYS */;
INSERT INTO `tempPosts` VALUES (47,'https://www.reddit.com/r/MensLib/comments/4cal06/minnesota_to_pay_damages_to_the_wrongly_imprisoned/','4cal06'),(48,'https://www.reddit.com/r/MensLib/comments/4c7zdl/there_was_nothing_wrong_with_my_wife_it_was_me/','4c7zdl'),(49,'https://www.reddit.com/r/MensLib/comments/4c5des/daddys_home_why_on_earth_did_i_take_shared/','4c5des'),(50,'https://www.reddit.com/r/MensLib/comments/4c2hco/dear_black_men_please_go_to_the_damn_doctor_the/','4c2hco'),(51,'https://www.reddit.com/r/MensLib/comments/4c0fuw/virgin_shaming/','4c0fuw'),(52,'https://www.reddit.com/r/MensLib/comments/4c271p/xpost_rfemradebates_michael_ian_black_talks_about/','4c271p'),(53,'https://www.reddit.com/r/MensLib/comments/4buev2/men_acting_tough_is_bad_for_your_health/','4buev2'),(54,'https://www.reddit.com/r/MensLib/comments/4boo8y/question_about_the_whole_dick_size_thing/','4boo8y'),(55,'https://www.reddit.com/r/MensLib/comments/4bmlrs/the_tougher_thing_is_to_feel_the_flash_and/','4bmlrs'),(56,'https://www.reddit.com/r/MensLib/comments/4bnaiz/does_anyone_have_a_peerreviewed_source_stating/','4bnaiz'),(57,'https://www.reddit.com/r/MensLib/comments/4bifbe/how_terry_crews_battled_and_eventually_overcame/','4bifbe'),(58,'https://www.reddit.com/r/MensLib/comments/47xwiy/new_lego_set_features_stayathome_dad/','47xwiy'),(59,'https://www.reddit.com/r/MensLib/comments/47t7cc/the_media_is_lying_to_you_about_mens_emotions_and/','47t7cc');
/*!40000 ALTER TABLE `tempPosts` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`username` varchar(100) NOT NULL DEFAULT '',
`password` varchar(100) DEFAULT NULL,
`role` int(11) DEFAULT NULL,
PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE `users` ( `username` varchar(100) NOT NULL DEFAULT '', `password` varchar(100) DEFAULT NULL, `role` int(11) DEFAULT NULL, PRIMARY KEY (`username`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES ('dewey_darl','3d611748766dd03dc869a24ef3b9bd77b7eb17ced8f55e1f3cdebaeb8c091270',NULL);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2016-03-30 4:19:59
show tables;
select * from users;