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

PhpMyAdmin unknown size by ndbcluster table.

P: 1
When I import mysql data from a dump file into mysql, and change the engine into ndbcluster, then phpmyadmin under structure shows sizes as unknown.

How do I get the information to show in phpmyadmin?

Only a simple code change is required.
Edit db_structure.php (ex: vi /usr/share/phpMyAdmin/db_structure.php)
Search for 'MyISAM' and add a case for 'ndbcluster' (if a database ndbcluster, or 'Aria' and 'Maria' if ...). Ther is case sensetive!
Expand|Select|Wrap|Line Numbers
  1.         .....
  2.         case 'MyISAM' :
  3.         case 'ISAM' :
  4.         case 'HEAP' :
  5.         case 'MEMORY' :
  6.         case 'ARCHIVE' :
  7. --->    case 'ndbcluster' :   <----
  8.             if ($db_is_information_schema) {
  9.                 $each_table['Rows'] = PMA_Table::countRecords($db,
  10.         .....
Mar 31 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.