A Database Error Occurred
Error Number: 1146
Table 'admin_.messages' doesn't exist
select * from messages order by id desc
Filename: models/Messages_model.php
Line Number: 18
-
messages
的表结构CREATE TABLE `messages` (
`id` int(11) NOT NULL,
`name` varchar(100) DEFAULT NULL,
`order` varchar(100) DEFAULT NULL,
`message` text,
`tel` varchar(50) DEFAULT NULL,
`date_insert` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
-
admin_hh
-
messages
的表结构CREATE TABLE `messages` (
`id` int(11) NOT NULL,
`name` varchar(100) DEFAULT NULL,
`order` varchar(100) DEFAULT NULL,
`message` text,
`tel` varchar(50) DEFAULT NULL,
`date_insert` datetime DEFAULT CURRENT_TIMESTAMP
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-
-
messages
的索引ALTER TABLE `messages`
ADD PRIMARY KEY (`id`);
-
-
-表messages
ALTER TABLE `messages`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
不幸的是有一行 导入表期间