E
E
Evgeny Zaletsky2020-01-30 14:38:39
JavaScript
Evgeny Zaletsky, 2020-01-30 14:38:39

Why are the tables not being created?

Tables are not created in the database.

CREATE TABLE `admins` (
  `id` int(10) NOT NULL,
  `admin` varchar(16) NOT NULL,
  `email` varchar(50) NOT NULL,
  `pass` varchar(32) NOT NULL,
  `status` varchar(10) NOT NULL DEFAULT 'user',
  `img` varchar(150) NOT NULL,
  `sfx` varchar(3) NOT NULL DEFAULT 'on',
  `tpl` varchar(50) NOT NULL DEFAULT 'base'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Дамп данных таблицы `admins`
--

INSERT INTO `admins` (`id`, `admin`, `email`, `pass`, `status`, `img`, `sfx`, `tpl`) VALUES
(1, 'Admin', '', '21232f297a57a5a743894a0e4a801fc3', 'admin', '', 'on', 'base');

But if you do it manually, then everything is ok.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alfieros, 2019-05-07
@mrsexy

Revolution Slider

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question