Версия для печати темы
Нажмите сюда для просмотра этой темы в оригинальном формате
Форум программистов > MySQL > Лог файл сервера


Автор: Gumi 10.1.2012, 11:31
Здравствуйте.

Сегодня хотела просмотреть лог файл сервера MySql 5.0.22 установленного на windows Server 2003, но почему то при открытии  ib_logfile0 (размер 24М) - он пустой, а в файле ib_logfile1 (24М)  - непонятные символы. 

Подскажите, пожалуйста, из-за чего это и как просмотреть лог файл?

Прилагаю фрагмент MY.INI:

Код

# CLIENT SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by MySQL client applications.
# Note that only client applications shipped by MySQL are guaranteed
# to read this section. If you want your own MySQL client program to
# honor these values, you need to specify it as an option during the
# MySQL client library initialization.
#
[client]

port=3306

[mysql]

default-character-set=cp1251


# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this 
# file.
#
[mysqld]

# The TCP/IP Port the MySQL Server will listen on
port=3306


#Path to installation directory. All paths are usually resolved relative to this.
basedir="D:/MySQL/"

#Path to the database root
datadir="D:/MySQL/Data/"

# The default character set that will be used when a new schema or table is
# created and no character set is defined
default-character-set=cp1251
skip-character-set-client-handshake

# The default storage engine that will be used when create new tables when
default-storage-engine=INNODB

Автор: skyboy 11.1.2012, 11:03
это не совсем "лог сервера", это лог транзакций InnoDB движка.
зачем его смотреть?

Автор: Gumi 11.1.2012, 13:05
Цитата(skyboy @ 11.1.2012,  11:03)
это не совсем "лог сервера", это лог транзакций InnoDB движка.
зачем его смотреть?

Ммм, понятно. 
Хотела просмотреть какие выполнялись запросы.

почитаю литературу по mysql smile 

Спасибо.

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)