Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Databases > Re: mysql path
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 3690 of 3876
Post > Topic >>

Re: mysql path

by David Harper <devnull@[EMAIL PROTECTED] > Mar 30, 2008 at 06:42 AM

Arne Vajhøj wrote:
> Mr. X. wrote:
>> ... I meant :
>> Where is physically the database file exists,
>> and how can any external program with simple connection string connect 
>> to the specific db ?
> 
> For MyISAM tables you get:
>   MySQL data dir / database name / table name . MYD for data
>   MySQL data dir / database name / table name . MYI for indexes

The command

   show variables like 'datadir';

will display the location of the MyISAM data directory.

> For InnoDB tables the data get stored in the data file you define
> in the MySQL config file.

The command

   show variables like 'innodb_data_home_dir';

will display the name of the directory which contains the InnoDB 
tablespace files.

David Harper
Cambridge, England
 




 5 Posts in Topic:
mysql path
"Mr. X." <no  2008-03-30 01:11:12 
Re: mysql path
"Mr. X." <no  2008-03-30 01:20:39 
Re: mysql path
Lew <lew@[EMAIL PROTEC  2008-03-29 19:09:37 
Re: mysql path
=?ISO-8859-1?Q?Arne_Vajh=  2008-03-29 19:15:33 
Re: mysql path
David Harper <devnull@  2008-03-30 06:42:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 22:18:47 CST 2008.