From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: ALT Linux Sisyphus discussion list References: <20050413120716.GB5985@lrn.ru> From: Andrey Khavryuchenko Organization: KDS Software Group X-Attribution: AVK Date: Wed, 13 Apr 2005 15:47:19 +0300 In-Reply-To: <20050413120716.GB5985@lrn.ru> (Anton D. Kachalov's message of "Wed, 13 Apr 2005 16:07:16 +0400") Message-ID: User-Agent: Gnus/5.110001 (No Gnus v0.1) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new at kds.com.ua Subject: [sisyphus] Re: mysql server and docs version mismatch? X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Apr 2005 12:47:27 -0000 Archived-At: List-Archive: Anton, Pavel, "ADK" == Anton D Kachalov wrote: ADK> На системный /dev/hands :)) mysql> select convert('abc' using utf8); ADK> +---------------------------+ ADK> | convert('abc' using utf8) | ADK> +---------------------------+ ADK> | abc | ADK> +---------------------------+ ADK> 1 row in set (0.02 sec) ADK> /hint посмотрите повнимательнее на расстановку кавычек. "BP" == Boldin Pavel wrote: BP> зачем? он вам все правильно сказал - если команда приведена 1 в 1, BP> то должно быть -e "select convert('abs' USING utf8);" А пофиг, я ведь сначала проверял не из cmd line: akhavr@netmaster /tmp # mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 29340 to server version: 4.0.24-log Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> select convert('abc' using utf8); ERROR 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 'using utf8)' at line 1 mysql> -- Andrey V Khavryuchenko http://www.kds.com.ua/ Silver Bullet Software Solutions http://www.livejournal.com/~akhavr