[sisyphus] Re: mysql server and docs version mismatch?
Andrey Khavryuchenko
=?iso-8859-1?q?akhavr_=CE=C1_kds=2Ecom=2Eua?=
Ср Апр 13 16:47:19 MSD 2005
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
Подробная информация о списке рассылки Sisyphus