Displaying 2 results from an estimated 2 matches for "log_archive".
Did you mean:
doc_archive
2010 May 29
0
Tar archive extract to buffer and offer for view / download
...ibility to download and view the content. The
archive should not be compressed to a folder but only to a buffer.
Helper:
require ''tarruby''
def testFu
File.directory?(log_folder) or return "Log folder ''#{log_folder}''
doesn''t exist."
log_archive = File.expand_path(@log.log_archive,log_folder)
# a hash which i probably can access from my view
$result = Hash.new
Tar.gzopen(log_archive, File::RDONLY, 0644, Tar::GNU |
Tar::VERBOSE) do |tar|
tar.each do
if tar.reg? # regular file
buf = tar.extract_buffer...
2008 Sep 03
23
error connecting to mysql
i was trying to setup an application checked out from svnin my local
machine. i managed to do all that is required except when it came to
the step of creating databases for the application, when i tried to
connect to mysql i got this error
ERROR 2002 (HY000): Can''t connect to local MySQL server through socket
''/var/lib/mysql/mysql.sock'' (2)
i have spent more than 5