MySQL Forums
Forum List  »  InnoDB

Re: SHOW VARIABLES: which table holds my.cnf startup varibles?
Posted by: yvonne kire
Date: March 10, 2009 07:17PM

This is still a mystery to me
Looks like mysql has 'hidden' internal tables? true/false?

Is there a way for me to access this tables? or where is the startup variables valued stored? in the memory? or where?

I found the vairables table in information_schema - but I can not select from it
is there a way to do that?

mysql (information_schema)>>desc variables;
+---------------+--------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+---------------+--------------+------+-----+---------+-------+
| Variable_name | varchar(80) | NO | | | |
| Value | varchar(512) | NO | | | |
+---------------+--------------+------+-----+---------+-------+
2 rows in set (0.00 sec)

mysql (information_schema)>>select value from variables;
ERROR 1109 (42S02): Unknown table 'variables' in information_schema

mysql (mysql)>>select value from variables;
ERROR 1146 (42S02): Table 'mysql.variables' doesn't exist

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: SHOW VARIABLES: which table holds my.cnf startup varibles?
3485
March 10, 2009 07:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.