From: Dan Nelson Date: June 20 2003 2:09pm Subject: Re: extending MySql List-Archive: http://lists.mysql.com/mysql/143253 Message-Id: <20030620140959.GG1895@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In the last episode (Jun 20), Prem Soman said: > that was very useful for me. can these UDF's provide a better way to > access the sever specific information such as the date and number of > times the server was restarted The server does not know how many times it has been restarted. You can easily enough write a wrapper script that keeps count, though. As for the date, just call gettimeofday() or time() from C, or SELECT NOW() from MySQL. -- Dan Nelson dnelson@stripped