Warning: Creating default object from empty value in /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4991

Warning: Creating default object from empty value in /www/htdocs/v030397/mysql-qotd/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 4993
Question 62: What’s the path of the tt3 db-directory? – MySQL Question of the Day

Skip to content

By plogi in mysql questions

 
See the following example:

mysql> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| iff                |
| mysql              |
| test               |
| tt                 |
| tt3                |
+--------------------+
6 rows in set (0.02 sec)

mysql> show global variables like 'datadir';
+---------------+----------------------------------------+
| Variable_name | Value                                  |
+---------------+----------------------------------------+
| datadir       | c:\mysql-noinstall-5.0.51b-win32\data\ |
+---------------+----------------------------------------+
1 row in set (0.00 sec)

 
What’s the path of the tt3 db-directory?

a) c:\data\
b) c:\mysql-noinstall-5.0.51b-win32\data
c) c:\mysql-noinstall-5.0.51b-win32\data\mysql\tt3
d) c:\mysql-noinstall-5.0.51b-win32\data\tt3

 
[ MySQL Architecture (10%) - How MySQL uses Disk Space ]

Tags: , ,

Comment Feed

One Response

  1. plogi8. June 2010 @ 18:54:24


    d
     
    The database directories are below the data-directory.

You must be logged in to post a comment.