By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,759 Members | 1,255 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,759 IT Pros & Developers. It's quick & easy.

SHOW VARIABLES LIKE '%dir%'; (basedir and datadir)

P: n/a
Hello MySQL Fans,

This time I am using 4.0.13-max (tar format from www.mysql.com) on
Redhat 9.

I have an understanding question why would the command SHOW VRAIABLES
give me once the real output and once the symlink ouput for directory
names ?

Sample (datadir and basedir) :

mysql> SHOW VARIABLES LIKE '%dir%';
+----------------------------+--------------------------------------------+
| Variable_name | Value |
+----------------------------+--------------------------------------------+
| basedir | /usr/local/mysql-max-4.0.13-pc-linux-i686/ |
| bdb_logdir | |
| bdb_tmpdir | /tmp/ |
| datadir | /usr/local/mysql/data/ |
| innodb_data_home_dir | |
| innodb_log_arch_dir | ./ |
| innodb_log_group_home_dir | ./ |
| innodb_max_dirty_pages_pct | 90 |
| tmpdir | /tmp/ |
+----------------------------+--------------------------------------------+
9 rows in set (0.04 sec)
Best regards

Nils Valentin

Tokyo/Japan
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.