Re: DBI/DBD::mysql: Detecting InnoDB?
- From: tyler@xxxxxx (Tyler MacDonald)
- Date: Sun, 13 Nov 2005 14:12:50 -0800
luke@xxxxxxxxxxxxxxx <luke@xxxxxxxxxxxxxxx> wrote:
> You could try the 'mysqladmin -u <user> -p<passw> -V'
> If your version of mysql is later than 3.23.6 it will support InnoDB.
Unless the "skip-innodb" option is enabled in their conf file. Also,
this requires that the user not only have DBD::mysql installed, but have
mysqladmin installed as well.
> mysql> 'show table status;'
Yes, but only if you've already created an InnoDB table. :-/
I guess that leaves me with attempting to create a temporary table,
and if that fails, assuming it's turned off... Unless, is there any perl/DBI
way for me to interrogate the MySQL server to determine what version it is,
and whether or not "skip-innodb" has been turned on?
Thanks,
Tyler
.
- References:
- DBI/DBD::mysql: Detecting InnoDB?
- From: Tyler MacDonald
- Re: DBI/DBD::mysql: Detecting InnoDB?
- From: luke
- DBI/DBD::mysql: Detecting InnoDB?
- Prev by Date: Re: DBI/DBD::mysql: Detecting InnoDB?
- Next by Date: Why no [dbi-users] in subject
- Previous by thread: Re: DBI/DBD::mysql: Detecting InnoDB?
- Next by thread: Re: DBI/DBD::mysql: Detecting InnoDB?
- Index(es):
Relevant Pages
|