# Главная
# О библиотеке

# Выбор дистрибутива
преимущества Linux/UNIX | основные дистрибутивы | серверный Linux | BSD | LiveCDs | прочее

# Установка и удаление программ
общие вопросы | каталоги софта | специальные случаи

# Настройка и работа
установка, загрузчики | настройка Linux | консоль | файловые системы | процессы | шеллы, русификация, коммандеры | виртуальные машины, эмуляторы

# X Window и оконные менеджеры
настройка X Window | GNOME | KDE | IceWM и др.

# Работа с текстами
редакторы | офис | шрифты, кодировки и русификация | преобразования текстовых файлов | LaTeX, SGML и др. | словари

# Графика
GIMP | фото | обработка изображений | форматы графических файлов

# Сети, администрирование
общие вопросы | Dialup & PPP | брандмауэры | маршрутизация | работа в Windows-сетях | веб-серверы | Apache | прокси-серверы | сетевая печать | прочее

# Программирование
GCC & GNU make | программирование в UNIX | графические библиотеки | Tcl | Perl | PHP | Java & C# | СУБД | CVS | прочее

# Ядро
# Мультимедиа
# Интернет
# Почта
# Безопасность
# Железо
# Разное

# Linux HowTo (как сделать)
# Книги и руководства
# Материалы на английском языке


MySQL The World's Most Popular Open Source Database # Online shop | Site map |  
CompanyProductsSupport & ConsultingTraining & CertificationDownloadsDocumentation
  BooksArticlesMailing ListsPresentationsOther Sites  
Search the MySQL manual:
MySQL Manual
  • D История изменений и обновлений MySQL
    • D.2 Изменения в версии 3.23.x (Стабильная)
      • D.2.1 Изменения в версии 3.23.52
      • D.2.2 Изменения в версии 3.23.51 (31 Май 2002)
      • D.2.3 Изменения в версии 3.23.50 (21 Апр 2002)
      • D.2.4 Изменения в версии 3.23.49
      • D.2.5 Изменения в версии 3.23.48 (07 Фев 2002)
      • D.2.6 Изменения в версии 3.23.47 (27 Дек 2001)
      • D.2.7 Изменения в версии 3.23.46 (29 Ноя 2001)
      • D.2.8 Изменения в версии 3.23.45 (22 Ноя 2001)
      • D.2.9 Изменения в версии 3.23.44 (31 Окт 2001)
      • D.2.10 Изменения в версии 3.23.43
      • D.2.11 Изменения в версии 3.23.42 (08 Сен 2001)
      • D.2.12 Изменения в версии 3.23.41 (11 Авг 2001)
      • D.2.13 Изменения в версии 3.23.40
      • D.2.14 Изменения в версии 3.23.39 (12 Июн 2001)
      • D.2.15 Изменения в версии 3.23.38 (09 Май 2001)
      • D.2.16 Изменения в версии 3.23.37 (17 Апр 2001)
      • D.2.17 Изменения в версии 3.23.36 (27 Мар 2001)
      • D.2.18 Изменения в версии 3.23.35 (15 Мар 2001)
      • D.2.19 Изменения в версии 3.23.34a
      • D.2.20 Изменения в версии 3.23.34 (10 Мар 2001)
      • D.2.21 Изменения в версии 3.23.33 (09 Фев 2001)
      • D.2.22 Изменения в версии 3.23.32 (22 Янв 2001: Стабильная)
      • D.2.23 Изменения в версии 3.23.31 (17 Янв 2001)
      • D.2.24 Изменения в версии 3.23.30 (04 Янв 2001)
      • D.2.25 Изменения в версии 3.23.29 (16 Дек 2000)
      • D.2.26 Изменения в версии 3.23.28 (22 Ноя 2000: Гамма)
      • D.2.27 Изменения в версии 3.23.27 (24 Окт 2000)
      • D.2.28 Изменения в версии 3.23.26
      • D.2.29 Изменения в версии 3.23.25
      • D.2.30 Изменения в версии 3.23.24 (08 Сен 2000)
      • D.2.31 Изменения в версии 3.23.23
      • D.2.32 Изменения в версии 3.23.22 (31 Июл 2000)
      • D.2.33 Изменения в версии 3.23.21
      • D.2.34 Изменения в версии 3.23.20
      • D.2.35 Изменения в версии 3.23.19
      • D.2.36 Изменения в версии 3.23.18
      • D.2.37 Изменения в версии 3.23.17
      • D.2.38 Изменения в версии 3.23.16
      • D.2.39 Изменения в версии 3.23.15 (Май 2000: Бета)
      • D.2.40 Изменения в версии 3.23.14
      • D.2.41 Изменения в версии 3.23.13
      • D.2.42 Изменения в версии 3.23.12
      • D.2.43 Изменения в версии 3.23.11
      • D.2.44 Изменения в версии 3.23.10
      • D.2.45 Изменения в версии 3.23.9
      • D.2.46 Изменения в версии 3.23.8
      • D.2.47 Изменения в версии 3.23.7
      • D.2.48 Изменения в версии 3.23.6
      • D.2.49 Изменения в версии 3.23.5
      • D.2.50 Изменения в версии 3.23.4
      • D.2.51 Изменения в версии 3.23.3
      • D.2.52 Изменения в версии 3.23.2
      • D.2.53 Изменения в версии 3.23.1
      • D.2.54 Изменения в версии 3.23.0 (Сен 1999: Альфа)

Buy this Reference Manual in softcover from Barnes & Noble!

MySQL Reference Manual
Previous / Next / Up / Table of Contents

D.2.17 Изменения в версии 3.23.36 (27 Мар 2001)

Раздел в стадии перевода.

User Comments

Posted by Mike Wexler on Monday June 17 2002, @7:39pm[Delete] [Edit]

The documentation on $sth->{rows} should talk
about the difference between rows matched and
rows changed.

For example

UPDATE foo SET bar=1 WHERE uniqueKey=1

Could set rows to 0 or 1 even if there was
exactly one record with uniqueKey=1 if the field
bar was already 1 $sth->{rows} would be zero
otherwise $sth->{rows} would be 1. Also a pointer
to how to get the other piece of information
(rows matched) would be nice.

Posted by Begrudged Biker Mouse on Monday June 17 2002, @7:39pm[Delete] [Edit]

Some of the field names listed there seem to be incorrectly cased. For example, using the current DBI::mysql, after a $sth=$dbh->prepare("LISTFIELDS users"); $sth->execute();, $sth->{TYPE} is set (as an ARRAYREF of types) but not $sth->{type}. Readers should probably consult the DBI docs if some fields turn up undef when typed in the cas mentioned here.

Posted by Rick Romero on Monday June 17 2002, @7:39pm[Delete] [Edit]

This doc is a little backwards.
After you enter mysql by issuing:
$mysql mysql
do:
mysql> FLUSH PRIVILEGES;
mysql> set password for root = password('new_password');
You will be unable to issue any commands until you've reset the privileges, giving yourself root access. (Hey this took me 2 hours to figure out)10/10/00

Posted by [email protected] on Monday June 17 2002, @7:39pm[Delete] [Edit]

Without Foreign keys, referential integrity is hard to maintain. Its even harder without subselects, or allowing left joins in DELETE statements.

Is there some example where rows from a are deleted where the corresponding column is missing in b? Similar to

select table1.* from table1
LEFT JOIN table2 ON table1.id=table2.id
where table2.id is NULL;

Except delete the rows instead of selecting them?

Posted by [name withheld] on Monday June 17 2002, @7:39pm[Delete] [Edit]

To use MyODBC with Access 2000 you WILL need the
updated jet drivers, available as
jet40sp5_9xnt.exe from microsoft.com.

You may need MDAC 2.6 aswell but the jet drivers
are not included with it.

Posted by Paul Rubin on Monday June 17 2002, @7:39pm[Delete] [Edit]

It would be nice to be able control the character set used for detecting words. That has to be
easier to implement than fancier control over
parsing. I'm using mysql for a web forum where
the messages are stored as text fields and
they contain html tags. So I don't want the
tags showing up in text searches. Easiest way
is to include '<' and '>'
characters as word constituents.

Posted by Pete Nelson on Monday June 17 2002, @7:39pm[Delete] [Edit]

Installed MyODBC-2.50.36 (Win95). Trying to use it with Office 2000 (Excel, Word, Access) works fine for simple queries, but found that it would not allow me to do joins other than a simple LEFT JOIN (the default). I've found the only way to handle complex queries is OUTSIDE of the MyODBC interface -- I write them in perl to create a csv file to be imported into Excel. I am anxiously waiting for a new version of MyODBC that can solve this. Also have found that more complex queries tend to hang the driver. But what I can do with a simple query & MyODBC is Wonderful!!!

Posted by [email protected] on Monday June 17 2002, @7:39pm[Delete] [Edit]

Note on Coldfusion: Coldfusion (as of 4.51) has
some very frustrating bugs when using ODBC to
connect to mySQL. If you're trying to connect
them, go read this page first: <a
href="http://www.geocrawler.com/archives/3/13/2000
/12/0/4767478/">http://www.geocrawler.com/archives
/3/13/2000/12/0/4767478/</a>

...briefly, when you add a new myODBC
connection
into ColdFusion, ColdFusion erroneously
writes 'Servername=server.name.com' instead
of 'Server=server.name.com' into its
odbc/odbc.ini file. You'll need to edit this
file by hand to fix it (at least in the most
current version of ColdFusion for Linux).

Posted by [email protected] on Monday June 17 2002, @7:39pm[Delete] [Edit]

First, I have read that last_insert_id() pertains
only to the current ODBC connection so there
shouldn't be a problem with that. Though i
haven't tested it and the manual isn't clear.
Second, if you are using Win2k and/or the latest
ADO and having problems with the above example
try using "SELECT id FROM footable WHERE id =
last_insert_id()" instead. The example shown
(SELECT LAST_INSERT_ID() AS last_id) would give
me a problem when I'd reference the column in a
recordset objRS('last_id') (Driver does not
support this parameter). Interestingly(?) this
occurred when referencing the column, not when
executing the query itself, which suggest its a
MS problem not MySQL...

Posted by Rob Huffstedtler on Monday June 17 2002, @7:39pm[Delete] [Edit]

The installation instructions for the mm.mysql
driver imply that you only need to place the jar
file in a directory that is within your
CLASSPATH. You should unjar the file (jar xvf
mm.mysql.2.01-bin.jar, for example) in a
directory within your class path to create the
proper directory structure for the java compiler
to find the driver).

Posted by Herbei Dacian on Monday June 17 2002, @7:39pm[Delete] [Edit]

I use mysql C API and I have queries that are
longer then 255 characters
how I can use mysql_query with those strings in
order that the commands are executed?

Posted by Tobias Leverin on Monday June 17 2002, @7:39pm[Delete] [Edit]

Is there a reason why the MySQL Front client
isn't included on the D2 Client page?

I found it on www.download.com and has the
following home page:
http://www.anse.de/mysqlfront

It had good rating on download.com and at a first
glance it seemed were nice.

Posted by [name withheld] on Monday June 17 2002, @7:39pm[Delete] [Edit]

One solution for MS Windows users might be
restarting the machine and then trying again. I
guess there is a database file open somewhere and
MySQL can't open it again for modifications.

Add your own comment.

Top / Previous / Next / Up / Table of Contents
# MySQL.com home | Site map | Contact us | Press | Jobs | Privacy policy | Trademark info | © 1995-2003 MySQL AB. All rights reserved.