Новости | FAQ | Авторы | Документация | В действии | Библиотека |
Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
Elbrus 24.07.2006 15:21
Итак, на строку запросаmysql://inspired_elbrus:"password_here"@localhost/inspired_32december?charset=cp1251выдаётся сообщение:
Unknown character set: 'cp1251' mysql://****@localhost/inspired_32december?charset=cp1251 /home/inspired/public_html/all_works.html(64) exception.type=sql.connectБаза, логин, пароль правильные.
-- phpMyAdmin SQL Dump
-- version 2.6.1
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Jul 24, 2006 at 03:18 PM
-- Server version: 4.1.16
-- PHP Version: 4.4.2
--
-- Database: `32december`
--
-- --------------------------------------------------------
--
-- Table structure for table `projects`
--
DROP TABLE IF EXISTS `projects`;
CREATE TABLE `projects` (
`id` int(11) NOT NULL,
`project_type` varchar(12) NOT NULL default '',
`color` varchar(5) NOT NULL default '',
`name` varchar(128) NOT NULL default '',
`name_eng` varchar(128) NOT NULL default '',
`name_it` varchar(128) NOT NULL default '',
`type` varchar(128) NOT NULL default '',
`type_eng` varchar(128) NOT NULL default '',
`type_it` varchar(128) NOT NULL default '',
`country` varchar(64) NOT NULL default '',
`country_eng` varchar(128) NOT NULL default '',
`country_it` varchar(128) NOT NULL default '',
`city` varchar(64) NOT NULL default '',
`city_eng` varchar(64) NOT NULL default '',
`city_it` varchar(64) NOT NULL default '',
`adress` varchar(128) NOT NULL default '',
`adress_eng` varchar(128) NOT NULL default '',
`adress_` varchar(128) NOT NULL default '',
`date_begin` date NOT NULL default '0000-00-00',
`date_end` date NOT NULL default '0000-00-00',
`realized` int(1) NOT NULL default '0',
`text` text NOT NULL,
`text_eng` text NOT NULL,
`text_it` text NOT NULL,
`extras_file` varchar(64) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=6 ;
--
-- Dumping data for table `projects`
--
INSERT INTO `projects` (`id`, `project_type`, `color`, `name`, `name_eng`, `name_it`, `type`, `type_eng`, `type_it`, `country`, `country_eng`, `country_it`, `city`, `city_eng`, `city_it`, `adress`, `adress_eng`, `adress_`, `date_begin`, `date_end`, `realized`, `text`, `text_eng`, `text_it`, `extras_file`) VALUES (1, 'architecture', 'red', 'РОСГОССТРАХ', '', '', 'Бизнес центр', '', '', 'Россия', '', '', 'Санкт-Петербург', '', '', 'Ушаковская наб., д. 23', '', '', '2002-05-10', '2004-08-01', 1, 'Я ждала сосиску. Динамики надрывались, выводя ?You can?t say, I didn?t give it, I won?t wait another minute!?\r\nПозвонил Олег и сказал, что если я сейчас же не приеду, он спрыгнет из окна. При этом он мне не поклонник какой-нибудь. Просто знакомый. Я ему сказала:\r\n- Я ем.\r\n- И что? ? удивился он. ? Человек кончает с жизнью, а она ест!\r\n- Ну, знаешь?\r\nОн осуждающе помолчал в трубку и сказал:\r\n- Ты ведешь себя так, как будто тебе на меня насрать.\r\nЯ не поняла, почему должно быть иначе. Тогда Олег повесил трубку.', '', '', '3D Viewer.exe');
INSERT INTO `projects` (`id`, `project_type`, `color`, `name`, `name_eng`, `name_it`, `type`, `type_eng`, `type_it`, `country`, `country_eng`, `country_it`, `city`, `city_eng`, `city_it`, `adress`, `adress_eng`, `adress_`, `date_begin`, `date_end`, `realized`, `text`, `text_eng`, `text_it`, `extras_file`) VALUES (Здесь текст на русском языке.);
Прошу модераторов о снисхождении к постам - я на этот форум первый раз пишу.