Gossamer Forum
Home : Products : Gossamer Links : Discussions :

how to read database.def and show host infos on the page?

Quote Reply
how to read database.def and show host infos on the page?
  

Hi guys

Recently i had setup a mysqld on router.
so i need to have a reminder on the page shows which mysqld linksql connected with

i found database.def contains host informations


sub {
my $testdb = GT::SQL->new ("R:/defs");
my $abc=$testdb ->{host};
return $abc; }


but it produce nothing. anyone here could give me some clue?
read the database.def file and print it out on the linksql homepage.

Thanks
Subject Author Views Date
Thread how to read database.def and show host infos on the page? courierb 2665 May 8, 2012, 8:31 PM
Post Re: [courierb] how to read database.def and show host infos on the page?
courierb 2582 May 9, 2012, 12:43 AM