Scunningham99
Programmer
Hi
I want to know the size of my vowkrs database.
I am trying to run the command
function getDbSize(vworks){
$size=shell_exec("du -b /var/lib/mysql/vworks");
$size=explode(' ',$size);
return $size[0];
}
but am unsure if it is correct and where to run it from?
As you can tell I have no experience of mysql at all so please be gentle
Sy UK
I want to know the size of my vowkrs database.
I am trying to run the command
function getDbSize(vworks){
$size=shell_exec("du -b /var/lib/mysql/vworks");
$size=explode(' ',$size);
return $size[0];
}
but am unsure if it is correct and where to run it from?
As you can tell I have no experience of mysql at all so please be gentle
Sy UK