0
Как сделать Нагрузкиmysqltlc package?Не удается найти пакет mysqltcl - как установить этот пакет?
[email protected]:~/tcl$
[email protected]:~/tcl$ tclsh mysql.tcl
can't find package mysqltcl
while executing
"package require mysqltcl"
(file "mysql.tcl" line 1)
[email protected]:~/tcl$
[email protected]:~/tcl$ cat mysql.tcl
package require mysqltcl
set m [mysqlconnect -user root -db mysql -password foobar]
mysqluse $m mysql
foreach res [mysqlsel $m {select host from user} -flatlist] {
puts $res
}
mysqlclose $m
[email protected]:~/tcl$
Ссылка: http://wiki.tcl.tk/6051
Немного использования Google указывает, что источник [здесь] (https://github.com/xdobry/mysqltcl) ... –