Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SELECT MAX(version) - pma tracking - PMA does not detect that table is not accessible #13912

Closed
aavinseth opened this issue Jan 4, 2018 · 10 comments
Assignees
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
Milestone

Comments

@aavinseth
Copy link

aavinseth commented Jan 4, 2018

Steps to reproduce

  1. add aws db config code
  2. restart xampp

Expected behaviour

Remote db should be open on selecting it and i should be able to view a table

Actual behaviour

showing SQL query error

phpmyadmin

Server configuration

Operating system: Amazon AWS Linux

Web server:

Database:

PHP version: 7.1.11

phpMyAdmin version: 4.7.7

Client configuration

Browser: Google Chrome

Operating system: Windows 10

@nijel
Copy link
Contributor

nijel commented Jan 8, 2018

Can you please share your configuration? It seems that you have phpMyAdmin configugation storage configured without the needed database setup...

@aavinseth
Copy link
Author

aavinseth commented Jan 13, 2018

Hey @nijel here is my xampp phpmyadmin config file

config.inc.txt

<?php

$i = 0;

$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'cookie';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['AllowNoPassword'] = true;

$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = true;

$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';



?>

@nijel nijel added the Bug A problem or regression with an existing feature label Mar 1, 2018
@nijel
Copy link
Contributor

nijel commented Mar 1, 2018

It seems that phpMyAdmin fails to detect that tracking tables are not there and still issues the query...

@williamdes williamdes added this to To be sorted in issues May 2, 2019
@williamdes
Copy link
Member

@aavinseth Can you confirm having this issue on latest version of phpMyAdmin ?

@williamdes williamdes added the question Used when we need feedback from the submitter or when the issue is a question about PMA label May 4, 2019
@williamdes williamdes moved this from To be sorted to Not reproduced in issues May 4, 2019
@aavinseth
Copy link
Author

@williamdes i have not checked it in new version yet. Will let you know soon about the same.

@aavinseth
Copy link
Author

@williamdes this issue still exists in latest version i.e 4.8.5

@williamdes williamdes removed the question Used when we need feedback from the submitter or when the issue is a question about PMA label May 12, 2019
@williamdes
Copy link
Member

Is this issue similar to #15123 ?

@aavinseth
Copy link
Author

@williamdes most probably its not similar to #15123

@williamdes williamdes changed the title opening remote database SELECT MAX(version) - pma tracking - PMA does not detect that table is not accessible Nov 10, 2019
@williamdes
Copy link
Member

mysql> use phpmyadmin;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> select * from pma__tracking;
ERROR 1146 (42S02): Table 'phpmyadmin.pma__tracking' doesn't exist
mysql> show tables;
+------------------------+
| Tables_in_phpmyadmin   |
+------------------------+
| pma__bookmark          |
| pma__central_columns   |
| pma__column_info       |
| pma__designer_settings |
| pma__export_templates  |
| pma__favorite          |
| pma__history           |
| pma__navigationhiding  |
| pma__pdf_pages         |
| pma__recent            |
| pma__relation          |
| pma__savedsearches     |
| pma__table_coords      |
| pma__table_info        |
| pma__table_uiprefs     |
| pma__tracking          |
| pma__userconfig        |
| pma__usergroups        |
| pma__users             |
+------------------------+
19 rows in set (0.01 sec)

@williamdes williamdes moved this from Not reproduced to Reproduced in issues Nov 11, 2019
williamdes added a commit to williamdes/phpmyadmintest that referenced this issue Nov 11, 2019
…age are not accessible

Fixes: phpmyadmin#13912
Fixes: phpmyadmin#15123

Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Nov 11, 2019
@williamdes
Copy link
Member

@aavinseth can you try #15565 if you still have the server ?

williamdes added a commit that referenced this issue Nov 11, 2019
Fixes: #13912
Fixes: #15123
Signed-off-by: William Desportes <williamdes@wdes.fr>
williamdes added a commit that referenced this issue Nov 11, 2019
Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes williamdes self-assigned this Nov 11, 2019
@williamdes williamdes added this to the 4.9.2 milestone Nov 11, 2019
issues automation moved this from Reproduced to Closed Nov 11, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
issues
  
Closed
Development

No branches or pull requests

3 participants