Тема: Ошибка при SQL-запросе
Доброго времени суток.На хостинге Версия MySQL5.6.21. Пытаюсь выполнить SQL-запрос на сервере "localhost".Копирую из sendmail.sql и вставляю в окно запроса:
1 SELECT DATABASE `ih39..._sendmail`;
2 CREATE TABLE IF NOT EXISTS `sm_attach` (
3 `id_attachment` int(6) NOT NULL AUTO_INCREMENT,
4 `name` tinytext NOT NULL,
5 `path` tinytext NOT NULL,
6 `id_send` int(6) NOT NULL,
7 PRIMARY KEY (`id_attachment`)
8 ) ENGINE=MyISAM;
9
10 CREATE TABLE IF NOT EXISTS `sm_aut` (
11 `passw` tinytext NOT NULL
12 ) ENGINE=MyISAM;
13
14 INSERT INTO `sm_aut` (`passw`) VALUES ('b59c67bf196a4758191e42f76670ceba');
и т.д.
Выдает ошибку:
SQL-запрос:
SELECT DATABASE `ih39..._sendmail` ;
Ответ MySQL:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '`ih39..._sendmail`' at line 1
Подскажите что не так?