Menu

#1716 (in 2.6.3-pl1) 'Commands out of sync' (with mysqli)

2.6.3
fixed
None
1
2013-06-11
2005-07-03
mpopp75
No

I've just installed phpMyAdmin 2.6.3. When I access any
table, I get the error message

SQL-Befehl: [Bearbeiten]

SHOW KEYS FROM `tablename` ;

MySQL meldet:
#2014 - Commands out of sync; you can't run this
command now

I'm using MySQL 4.1.12-nt on Windows XP SP 1 - but it
must be caused by the new pma release. All versions of
pma that I've used before didn't bring that error.

Discussion

  • Marc Delisle

    Marc Delisle - 2005-07-04

    Logged In: YES
    user_id=210714

    Happens with 2.6.3 and not with 2.6.3-rc1.
    Only with the mysqli extension.

     
  • Marc Delisle

    Marc Delisle - 2005-07-04
    • priority: 5 --> 9
    • assigned_to: nobody --> lem9
     
  • mpopp75

    mpopp75 - 2005-07-04

    Logged In: YES
    user_id=1198806

    The bug must have arisen very recently. I had even one of the
    latest CVS versions before 2.6.3 final installed, but there was
    no error until the final.

    Markus Popp

     
  • Marc Delisle

    Marc Delisle - 2005-07-04

    Logged In: YES
    user_id=210714

    Here is the fix that will go into 2.6.3-pl1:
    line 30 in tbl_properties_table_info.php becomes:

    $table_info_result = PMA_DBI_query('SHOW TABLE STATUS LIKE
    \'' . PMA_sqlAddslashes($table, TRUE) . '\';', NULL,
    PMA_DBI_QUERY_STORE);

     
  • Marc Delisle

    Marc Delisle - 2005-07-04
    • priority: 9 --> 1
    • summary: 'Commands out of sync' when showing table details --> (in 2.6.3-pl1) 'Commands out of sync' (with mysqli)
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2005-07-04

    Logged In: YES
    user_id=210714

    fixed in 2.6.3-pl1

     
  • Marc Delisle

    Marc Delisle - 2005-07-10
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed
     
MongoDB Logo MongoDB