Advertisement
Guest User

export file

a guest
Oct 3rd, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.1.12
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: 127.0.0.1
  6. -- Generation Time:
  7. -- Версия на сървъра: 5.6.16
  8. -- PHP Version: 5.5.11
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13.  
  14. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  15. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  16. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  17. /*!40101 SET NAMES utf8 */;
  18.  
  19. --
  20. -- Database: `messages`
  21. --
  22.  
  23. -- --------------------------------------------------------
  24.  
  25. --
  26. -- Структура на таблица `messages`
  27. --
  28.  
  29. CREATE TABLE IF NOT EXISTS `messages` (
  30. `username` varchar(50) NOT NULL,
  31. `date` date NOT NULL,
  32. `groups` varchar(50) NOT NULL,
  33. `header` varchar(100) NOT NULL,
  34. `message` text NOT NULL,
  35. `message_id` int(11) NOT NULL AUTO_INCREMENT,
  36. PRIMARY KEY (`message_id`)
  37. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
  38.  
  39. --
  40. -- Схема на данните от таблица `messages`
  41. --
  42.  
  43. INSERT INTO `messages` (`username`, `date`, `groups`, `header`, `message`, `message_id`) VALUES
  44. ('admin', '2014-10-01', 'Others', 'Examen date', 'Ne date of the exam', 4),
  45. ('user', '2014-10-01', 'MySQL', 'Conection String', 'Conections Strings in databases', 3);
  46.  
  47. -- --------------------------------------------------------
  48.  
  49. --
  50. -- Структура на таблица `users`
  51. --
  52.  
  53. CREATE TABLE IF NOT EXISTS `users` (
  54. `username` varchar(50) NOT NULL,
  55. `password` varchar(50) NOT NULL,
  56. PRIMARY KEY (`username`)
  57. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
  58.  
  59. --
  60. -- Схема на данните от таблица `users`
  61. --
  62.  
  63. INSERT INTO `users` (`username`, `password`) VALUES
  64. ('user', 'qwert'),
  65. ('user1', '123'),
  66. ('user2', '12345'),
  67. ('admin', '12345');
  68.  
  69. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  70. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  71. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement