View Full Version : Creation Date of a MySQL db???
Hello, is there a command to find the creation date of a database?
Thanks,
-- Dave
frankfort
12-13-2006, 09:42 AM
Not sure off the top of my head. You could always check the directory date.
What exactly are you trying to accomplish with it?
This code will show the dates on your db directories. This assumes that your
db's are located in /usr/local/mysql/var like mine are at hardhat. Just paste it into a php file and upload it. You can also execute in a shell. (ls -ld /usr/local/mysql/var/*).
<?php
echo "<pre>";
system('ls -ld /usr/local/mysql/var/*');
echo "</pre>";
?>
vBulletin® v3.7.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.