|
|
|
Ошибка при SQL-запросе в панэле phpMyAdmin 4.0.10.6
|
|||
|---|---|---|---|
|
#18+
Доброго времени суток.На хостинге Версия 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 Подскажите что не так? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.01.2015, 16:07:51 |
|
||
|
Ошибка при SQL-запросе в панэле phpMyAdmin 4.0.10.6
|
|||
|---|---|---|---|
|
#18+
SELECT DATABASE - нет такой команды. Подозреваю, что нужен USE . ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.01.2015, 16:12:41 |
|
||
|
|

start [/forum/topic.php?fid=47&msg=38853329&tid=1833699]: |
0ms |
get settings: |
8ms |
get forum list: |
11ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
22ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
33ms |
get tp. blocked users: |
1ms |
| others: | 218ms |
| total: | 308ms |

| 0 / 0 |
