RussianLDP Рейтинг@Mail.ru
WebMoney: 
WMZ Z294115950220 
WMR R409981405661 
WME E134003968233 
Visa 
4274 3200 2453 6495 

Приложение F. Утилиты MySQL

MySQL Utilities это пакет утилит, которые используются для обслуживания и администрации серверов MySQL. Эти утилиты предоставляют ряд примитивных команд и связывают их так, что они могут использоваться, чтобы выполнить макрооперации единственной командой. Они могут быть установлены с MySQL Workbench или как автономный пакет.

Это ряд утилит командной строки и библиотек Python для того, чтобы сделать общие задачи легкими. Библиотека написана полностью на Python, подразумевая, что не надо иметь любые другие инструменты или библиотеки, чтобы заставить пакет работать. Это в настоящее время разрабатывается, чтобы работать с Python v2.6 или позже и нет никакой поддержки Python v3.1.

Утилиты доступны в соответствии с лицензией GPLv2 и расширяются с использованием внешних библиотек.

Установка утилит MySQL

Сервисное развитие MySQL организовано в другом месте и требует отдельной загрузки. Попытка запустить MySQL Utilities, когда они не установлены, вызовет их загрузку и установку.

MySQL Workbench ищет mysqluc MySQL Utility в каталогах системной переменной PATH, чтобы определить, установлены ли MySQL Utilities.

Открытие утилит MySQL из MySQL Workbench

Чтобы открыть MySQL Utility mysqluc (MySQL Utilities Unified Console) из MySQL Workbench, нажмите в меню Tools, Start Shell for MySQL Utilities. Следующий вывод показывает окно консоли MySQL Utilities после выполнения команды help.

Welcome to the MySQL Utilities Client (mysqluc) version 1.6.5
Copyright (c) 2010, 2017 Oracle and/or its affiliates. All rights reserved.
This is a release of dual licensed MySQL Utilities. For the avoidance of
doubt, this particular copy of the software is released
under a commercial license and the GNU General Public License does not apply.
MySQL Utilities is brought to you by Oracle.

Type 'help' for a list of commands or press TAB twice for list of utilities.

mysqluc> help
Command Description
-------------------------------------------------------------------------
help utilities Display list of all utilities supported.
help <utility> Display help for a specific utility.
show errors Display errors captured during the execution of the utilities.
clear errors clear captured errors.
show last error Display the last error captured during the
                execution of the utilities
help | help commands Show this list.
exit | quit Exit the console.
set <variable>=<value> Store a variable for recall in commands.
show options Display list of options specified by the user on launch.
show variables Display list of variables.
<ENTER> Press ENTER to execute command.
<ESCAPE> Press ESCAPE to clear the command entry.
<DOWN> Press DOWN to retrieve the previous command.
<UP> Press UP to retrieve the next command in history.
<TAB> Press TAB for type completion of utility, option,
            or variable names.
<TAB><TAB> Press TAB twice for list of matching type
                       completion (context sensitive).

Поиск

 

Найди своих коллег!

Вы можете направить письмо администратору этой странички, Алексею Паутову. mailto:alexey.v.pautov@mail.ru