473,402 Members | 2,072 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Asking MySQL if InnoDB is available

Hi,

Is it possible to 'ask' MySQL using SQL if InnoDB is available and
usable?

I am writing a GUI database app that has a 'create table' function, I
want to give the user the option of creating an InnoDB database, but
only if InnoDB is available, can this information be found out from
SQL (I'm using JDBC)

Thanks in advance

Moray
Jul 19 '05 #1
4 2610
On 22 Nov 2003 12:23:24 -0800, bi******@freeuk.com (M Taylor) wrote:
Hi,

Is it possible to 'ask' MySQL using SQL if InnoDB is available and
usable?

I am writing a GUI database app that has a 'create table' function, I
want to give the user the option of creating an InnoDB database, but
only if InnoDB is available, can this information be found out from
SQL (I'm using JDBC)

show variables like 'have_innodb'

Chuck Gadd
http://www.csd.net/~cgadd/aqua
Jul 19 '05 #2
On 22 Nov 2003 12:23:24 -0800, bi******@freeuk.com (M Taylor) wrote:
Hi,

Is it possible to 'ask' MySQL using SQL if InnoDB is available and
usable?

I am writing a GUI database app that has a 'create table' function, I
want to give the user the option of creating an InnoDB database, but
only if InnoDB is available, can this information be found out from
SQL (I'm using JDBC)

show variables like 'have_innodb'

Chuck Gadd
http://www.csd.net/~cgadd/aqua
Jul 19 '05 #3
Chuck Gadd <cg***@cfxc.com> wrote in message news:<ae********************************@4ax.com>. ..
On 22 Nov 2003 12:23:24 -0800, bi******@freeuk.com (M Taylor) wrote:
Hi,

Is it possible to 'ask' MySQL using SQL if InnoDB is available and
usable?

I am writing a GUI database app that has a 'create table' function, I
want to give the user the option of creating an InnoDB database, but
only if InnoDB is available, can this information be found out from
SQL (I'm using JDBC)

show variables like 'have_innodb'

Chuck Gadd
http://www.csd.net/~cgadd/aqua


That looks just the job, thanks v much.

Moray
Jul 19 '05 #4
Chuck Gadd <cg***@cfxc.com> wrote in message news:<ae********************************@4ax.com>. ..
On 22 Nov 2003 12:23:24 -0800, bi******@freeuk.com (M Taylor) wrote:
Hi,

Is it possible to 'ask' MySQL using SQL if InnoDB is available and
usable?

I am writing a GUI database app that has a 'create table' function, I
want to give the user the option of creating an InnoDB database, but
only if InnoDB is available, can this information be found out from
SQL (I'm using JDBC)

show variables like 'have_innodb'

Chuck Gadd
http://www.csd.net/~cgadd/aqua


That looks just the job, thanks v much.

Moray
Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: I.P. | last post by:
No one has replied to my post. ----- Original Message ----- From: "I.P." <jancio_wodnik@wp.pl> To: <mysql@lists.mysql.com> Sent: Monday, August 18, 2003 1:01 PM Subject: mysql 4.0.14 +...
39
by: Mairhtin O'Feannag | last post by:
Hello, I have a client (customer) who asked the question : "Why would I buy and use UDB, when MySql is free?" I had to say I was stunned. I have no experience with MySql, so I was left sort...
1
by: jlee | last post by:
I'm pretty much a newbie on mysql, and I need some help. I am running mysql Ver 12.22 Distrib 4.0.24, for portbld-freebsd5.4 (i386) on a server hosting an active website. The site's developer...
1
by: Good Man | last post by:
Hi there I've noticed some very weird things happening with my current MySQL setup on my XP Laptop, a development machine. For a while, I have been trying to get the MySQL cache to work....
2
by: Dudu | last post by:
Dear Programmers I try to install mysql version 5.0 and I encountered with a problem when I tried to start the service. I got error 1067. I checked the log file and saw the following records...
7
by: Randy | last post by:
Folks: We have a web-based app that's _really_ slowing down because multiple clients are writing their own private data into a single, central database. I guess the previous programmer did...
1
by: Ike | last post by:
Recently, I began using a different MySQL verver (i.e. different machine as well as different version#, going from 4.12a to 4.1.9 max). The following query used to work: select firstname,...
0
by: Chrom_ | last post by:
Mysql is filling my /var partition because the log limit doesn't seem to be respected. I've tried many different settings in /etc/mysql/my.cnf but nothing works. Logrotate is not...
1
by: jdresow | last post by:
I installed MySQL on a windows server 2003, in an acxtive directory domain and I get error 32 which is a sharing error. I do not understand this and I am also adding the first several lines of my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.