Menu

#1832 (in 2.7.0) Chance you have found bug in the SQL parser

2.6.4-pl2
fixed
nobody
1
2014-09-25
2005-10-22
No

I was doing a batch update on a table (I had the wrong
name) when I got this message back.
----------------------------------------------------------------------------------------------------------------------------------------
There is a chance that you may have found a bug in the
SQL parser. Please examine your query closely, and
check that the quotes are correct and not mis-matched.
Other possible failure causes may be that you are
uploading a file with binary outside of a quoted text
area. You can also try your query on the MySQL command
line interface. The MySQL server error output below, if
there is any, may also help you in diagnosing the
problem. If you still have problems or if the parser
fails where the command line interface succeeds, please
reduce your SQL query input to the single query that
causes problems, and submit a bug report with the data
chunk in the CUT section below:
----BEGIN CUT----
eNqVVL9v2zoQ3vVX3FA0CeAotpOmqYIOtMy4KmTJpWQXyVRaYh0WNOlSotH63+zWLWOGTN06vZP8
A8XL6/AACTqSd/fd9x1PlLGUBRD2IOxDTJMALl+f43sBve7VGy/L8fB3oYTxvHCWBfAiKgOovqoV
t5WwvpJzf3W/6qyh759fQr/bfXXWvcIHzaDfD3o9UGL5Bui3Fbzwxt+zD3EAF37P753zU11704xB
mnWAjGiSd2BGEe6j1DBO76I4JvDK73qTMQkw/aV/cbpSfW/ybtL4ddKsyXThd+FjlCS5F5NkFIDQ
p67+fHrltUhRklGW4ydP4dOMW8nnSlSfIKO5l4tKVolbCmsA4C0c9brd3lFnu38jinsO2/3u6zN8
Gmr7U+JqY3enRJf2sYKQL1em6sAYQZTbQCzWQiEvFEjU93D7uBKbfXgua6d2oIymbESS6I6E0Y8E
KAo+DfMpIzHcws00CaM0QXtIAdUYRoyGrR+uMzqasmhIhriIYRwlUZZTFqXtkowHESpKMUkTmmaA
kVOWoZGQNj3N4HhMWHLiwzGjk5+DOAoJDNI4mhEWkYQ0gTOa0LspjcnJvvahqLlCDdvahahq64ra
WV7IXxpKoeDBCo4GhEbX1ig0PQBa1a6Upmo9QqPEQhqYarkWtpI1SmZgYs1nH2Jjhd7g6tGKDTBT
2qeFQ8tYKXTNSw4c0znNIXSqwW2gMmHXspDGh5fYhWtVX89bY1Fft53iAcaM3Gb5oJv+PHGgbiG0
5HCMXe2d+Puws0McBmBBK4cEWwgmjF1wLTd7oqCQzR64Qvdmi8NAzpU0tSg4vPzqTH0dO1nBQKja
IvgEWdQGbiRysoZvPXaRezVKXjaCfVsJK5cNZ7XLlMklIh8k2QUn7XDChOOFmglbir+JEMCI2wK5
txXdCKu5Ls3/UeBZs5uyRwIbVki+VYCJwtkKlXnnlly3/YaJ1GbNO5D55K8NqgJIEUxsOLwXXOtm
ZL7DB4dDhDUyU21b1T95XudhqLBDkm+HqrGf+K7C9N+Nw/ZXhROHIyR44D+3+7y7HKF6qGSxz0XK
pWwCthL8R9SYa8eb8UD/P4GfeybGLjG9WeNF1AcSf/xYbvkXLvGCx+hl8Y/SSNlMxdE/QETbYQ==
----END CUT----
----BEGIN RAW----

ERROR: C1 C2 LEN: 673 674 1089
STR: ?cleo

CVS: $Id: sqlparser.lib.php,v 2.36 2005/08/08 20:22:11
lem9 Exp $
MySQL: 4.1.13a-nt
USR OS, AGENT, VER: Win MOZILLA 5.0
PMA: 2.6.4-pl2
PHP VER,OS: 4.4.0 WINNT
LANG: en-utf-8
SQL: INSERT INTO `Variables` SET
TesisNumero = '1001',
TesisFecha = '07/07/2005',
TesisAutor = 'Andr?s Campos, Mariluz Level, Alibeth
Y?pez',
TesisTitulo = 'REORGANIZACI?N ESTRUCTURAL Y FUNCIONAL
DE LA DIRECCI?N DE SEGURIDAD DEL MINISTERIO DEL
AMBIENTE Y DE LOS RECURSOS NATURALES (MARN). (REP?BLICA
BOLIVARIANA DE VENEZUELA)',
TesisDetalles = 'Reestructuraci?n del ?rea de Control de
Estudios del Colegio Universitario Prof. Lorenzo
P?rez Rodr?guez orientada a
una Cultura de Servicio. <b>Autora:
Guzm?n Mar?a Eugenia (2001).</b>
Propuesta de Reorganizaci?n de los Servicios
de la Biblioteca "Luis Beltr?n Prieto Figueroa" de la
Universidad
Experimental "Sim?n Rodr?guez" N?cleo Palo Verde.
<b>Autor: Garc?a Luis Fernando (2001).</b>
Propuesta de Reestructuraci?n de la Gerencia
de Recursos Humanos de Pinova, S.A. <b>Autoras:
Oropeza Jeanneth y Quevedo Rosa (2002)</b>',
TesisTeoria = 'Teor?a de la Organizaci?n de la
Escuela Organista.<br>Teor?a Cl?sica de la
Administraci?n.<br>Manuales de
Organizaci?n<br>Norma Covenin',
TesisTutor = 'Yajaira La Cruz de P?rez'

----END RAW----

SQL query:

INSERT INTO `Variables` SET TesisNumero = '1001',
TesisFecha = '07/07/2005', TesisAutor = 'Andr?s Campos,
Mariluz Level, Alibeth Y?pez', TesisTitulo =
'REORGANIZACI?N ESTRUCTURAL Y FUNCIONAL DE LA DIRECCI?N
DE SEGURIDAD DEL MINISTERIO DEL AMBIENTE Y DE LOS
RECURSOS NATURALES (MARN). (REP?BLICA BOLIVARIANA DE
VENEZUELA)', TesisDetalles = 'Reestructuraci?n del ?rea
de Control de Estudios del Colegio Universitario Prof.
Lorenzo P?rez Rodr?guez orientada a una Cultura de
Servicio. <b>Autora: Guzm?n Mar?a Eugenia (2001).</b>
Propuesta de Reorganizaci?n de los Servicios de la
Biblioteca "Luis Beltr?n Prieto Figueroa" de la
Universidad Experimental "Sim?n Rodr?guez" N?cleo Palo
Verde. <b>Autor: Garc?a Luis Fernando (2001).</b>
Propuesta de Reestructuraci?n de la Gerencia de
Recursos Humanos de Pinova, S.A. <b>Autoras: Oropeza
Jeanneth y Quevedo Rosa (2002)</b>', TesisTeoria =
'Teor?a de la Organizaci?n de la Escuela
Organista.<br>Teor?a Cl?sica de la
Administraci?n.<br>Manuales de Organizaci?n<br>Norma
Covenin', TesisTutor = 'Yajaira La Cruz de P?rez'
-----------------------------------------------------------------------------------------------------------------------------
I solved my problem, I had the name of the table bad it
was Tesis not Variables, ran the same batch and it worked.
That was a few days ago, very late in the night, so I
only saved this response and kept it for further
investigation.

Today (with more time) I tried to reproduce the same
problem, I couldn't, but I got a few strange messages
back as you will see bellow.

-----First of all I only tried to do the same query via
the query sql window and I got back the normal message
statin that th Variables Table didn't exist - OK for now.

-----Second I tried to run the original batch file and
I got back this message:
------------------------------------------------------------------------------------------------------------------------------
There seems to be an error in your SQL query. The MySQL
server error output below, if there is any, may also
help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 518
STR: </
SQL: INSERT INTO `Variables` SET
TesisNumero = '1001',
TesisFecha = '07/07/2005',
TesisAutor = 'Andr?s Campos, Mariluz Level, Alibeth
Y?pez',
TesisTitulo = 'REORGANIZACI?N ESTRUCTURAL Y FUNCIONAL
DE LA DIRECCI?N DE SEGURIDAD DEL MINISTERIO DEL
AMBIENTE Y DE LOS RECURSOS NATURALES (MARN). (REP?BLICA
BOLIVARIANA DE VENEZUELA)',
TesisDetalles = 'Reestructuraci?n del ?rea de Control de
Estudios del Colegio Universitario Prof. Lorenzo
P?rez Rodr?guez orientada a
una Cultura de Servicio. <b>Autora:
Guzm?n Mar?a Eugenia (2001).</b>
Propuesta de Reorganizaci?n de los Servicios
de la Biblioteca "Luis Beltr?n Prieto Figueroa" de la
Universidad
Experimental "Sim?n Rodr?guez" N?cleo Palo Verde.
<b>Autor: Garc?a Luis Fernando (2001).</b>;
Propuesta de Reestructuraci?n de la Gerencia
de Recursos Humanos de Pinova, S.A. <b>Autoras:
Oropeza Jeanneth y Quevedo Rosa (2002)</b>',
TesisTeoria = 'Teor?a de la Organizaci?n de la
Escuela Organista.<b>Teor?a Cl?sica de la
Administraci?n.<b>Manuales de Organizaci?n</b>Norma
Covenin',
TesisTutor = 'Yajaira La Cruz de P?rez'

SQL query:

INSERT INTO `Variables` SET TesisNumero = '1001',
TesisFecha = '07/07/2005', TesisAutor = 'Andr?s Campos,
Mariluz Level, Alibeth Y?pez', TesisTitulo =
'REORGANIZACI?N ESTRUCTURAL Y FUNCIONAL DE LA DIRECCI?N
DE SEGURIDAD DEL MINISTERIO DEL AMBIENTE Y DE LOS
RECURSOS NATURALES (MARN). (REP?BLICA BOLIVARIANA DE
VENEZUELA)', TesisDetalles = 'Reestructuraci?n del ?rea
de Control de Estudios del Colegio Universitario Prof.
Lorenzo P?rez Rodr?guez orientada a una Cultura de
Servicio. <b>Autora: Guzm?n Mar?a Eugenia (2001).</b>
Propuesta de Reorganizaci?n de los Servicios de la
Biblioteca "Luis Beltr?n Prieto Figueroa" de la
Universidad Experimental "Sim?n Rodr?guez" N?cleo Palo
Verde. <b>Autor: Garc?a Luis Fernando (2001).</b>;
Propuesta de Reestructuraci?n de la Gerencia de
Recursos Humanos de Pinova, S.A. <b>Autoras: Oropeza
Jeanneth y Quevedo Rosa (2002)</b>', TesisTeoria =
'Teor?a de la Organizaci?n de la Escuela
Organista.<b>Teor?a Cl?sica de la
Administraci?n.<b>Manuales de Organizaci?n</b>Norma
Covenin', TesisTutor = 'Yajaira La Cruz de P?rez'

MySQL said: Documentation
#1146 - Table '5649.Variables' doesn't exist
---------------------------------------------------------------------------------------------------------------------------------------------
As you can see, this is not the normal response in case
of an error even though the final line correctly stated
that Variables table does not exist.

-----Third I tried again in another form (really don't
remember how) and got this message back:
--------------------------------------------------------------------------------------------------------------------------------------------
SQL query:

INSERT INTO `Variables`
SET TesisNumero = '1001',
TesisFecha = '07/07/2005',
TesisAutor = 'Andr&#65533;s Campos, Mariluz Level, Alibeth Y&#65533;pez',
TesisTitulo = 'REORGANIZACI&#65533;N ESTRUCTURAL Y FUNCIONAL
DE LA DIRECCI&#65533;N DE SEGURIDAD DEL MINISTERIO DEL
AMBIENTE Y DE LOS RECURSOS NATURALES (MARN). (REP&#65533;BLICA
BOLIVARIANA DE VENEZUELA)',
TesisDetalles = 'Reestructuraci&#65533;n del &#65533;rea de Control
de Estudios del Colegio Universitario Prof. Lorenzo
P&#65533;rez Rodr&#65533;guez orientada a una Cultura de Servicio.
&lt;b&gt;Autora: Guzm&#65533;n Mar&#65533;a Eugenia (2001).&lt;/b&gt;
Propuesta de Reorganizaci&#65533;n de los Servicios de la
Biblioteca "Luis Beltr&#65533;n Prieto Figueroa" de la
Universidad Experimental "Sim&#65533;n Rodr&#65533;guez" N&#65533;cleo Palo
Verde. &lt;b&gt;Autor: Garc&#65533;a Luis Fernando
(2001).&lt;/b&gt;; Propuesta de Reestructuraci&#65533;n de la
Gerencia de Recursos Humanos de Pinova, S.A.
&lt;b&gt;Autoras: Oropeza Jeanneth y Quevedo Rosa
(2002)&lt;/b&gt;',
TesisTeoria = 'Teor&#65533;a de la Organizaci&#65533;n de la Escuela
Organista.&lt;b&gt;Teor&#65533;a Cl&#65533;sica de la
Administraci&#65533;n.&lt;b&gt;Manuales de
Organizaci&#65533;n&lt;/b&gt;Norma Covenin',
TesisTutor = 'Yajaira La Cruz de P&#65533;rez'

MySQL said: Documentation
#1146 - Table '5649.Variables' doesn't exist
------------------------------------------------------------------------------------------------------------------------------------------------
As you can see this return message is OK.

Even though, the original SQL Statement is as follow:
BEGIN-------------------------------
INSERT INTO `Variables` SET
TesisNumero = '1001',
TesisFecha = '07/07/2005',
TesisAutor = 'Andrés Campos, Mariluz Level, Alibeth
Yépez',
TesisTitulo = 'REORGANIZACIÓN ESTRUCTURAL Y FUNCIONAL
DE LA DIRECCIÓN DE SEGURIDAD DEL MINISTERIO DEL
AMBIENTE Y DE LOS RECURSOS NATURALES (MARN). (REPÚBLICA
BOLIVARIANA DE VENEZUELA)',
TesisDetalles = 'Reestructuración del área de Control de
Estudios del Colegio Universitario Prof. Lorenzo
Pérez Rodríguez orientada a
una Cultura de Servicio. <b>Autora:
Guzmán Maráa Eugenia (2001).</b>
Propuesta de Reorganización de los Servicios
de la Biblioteca "Luis Beltrán Prieto Figueroa" de la
Universidad
Experimental "Simón Rodríguez" Núcleo Palo Verde.
<b>Autor: García Luis Fernando (2001).</b>;
Propuesta de Reestructuración de la Gerencia
de Recursos Humanos de Pinova, S.A. <b>Autoras:
Oropeza Jeanneth y Quevedo Rosa (2002)</b>',
TesisTeoria = 'Teoría de la Organización de la
Escuela Organista.<b>Teoría Clásica de la
Administración.<b>Manuales de Organización</b>Norma
Covenin',
TesisTutor = 'Yajaira La Cruz de Pérez';
------------------------------------------------------------END

Why do I get back Such strange responses?.

Why do I get back the strange characters instead of the
accented?

Discussion

1 2 > >> (Page 1 of 2)
  • Carlos Pérez

    Carlos Pérez - 2005-10-22

    Logged In: YES
    user_id=1204910

    I did another query from the upper part of the query window
    (not a batch file) and got this message back:
    ------------------------------------------------------------------------------------------------------------------------------------
    SQL query:

    INSERT INTO VARIABLES SET TesisNumero = '1',
    TesisFecha = '2004-07-12',
    TesisAutor = 'Edgar Alayn, Greicy Bonaldy, Deyvis Febres,
    Belkis Valera',
    TesisTitulo = 'MANUAL DE NORMAS Y PROCEDIMIENTOS EN LA
    UNIDAD DE ADMINISTRACIN DE CONTRATOS DE LA EMPRESA ALAR
    ALARMA, C.A.',
    TesisDetalles = 'Normalizacin del Procedimiento de
    Facturacin del Departamento de Administracin de la Empresa
    Impotec, C.A. &lt;b&gt;Autores: Alcega Rene, Aray Rubn,
    Menndez Paula, Silva Jutmila, (2003)&lt;/b&gt;',
    TesisTeoria = 'Teora Clsica&lt;br&gt;Teora de la
    Normalizacin&lt;br&gt;Manuales',
    TesisTutor = 'Yajaira La Cruz de Prez'

    MySQL said:
    -----------------------------------------------------------------------------------------------------------------------------------
    As you can see, on the last line there is no MASQL said.

    Also notice that the accented characters are correctly written.

     
  • Carlos Pérez

    Carlos Pérez - 2005-10-22

    Logged In: YES
    user_id=1204910

    One more thing.

    I tried to update the table using the batch mode and could
    not get the accented characters to be saved correctly.

    I always got back strange characters instead of the accented
    characters.

    I tried using the batch file mode set to ( ascii, latin1,
    latin2, latin5 & latin 7) all this settings and never worked.

    The only way to update correctly the table is via the upper
    part of the sql window.

    Bellow is a sample of what I get back when I tried the bacth
    mode and after the correct output from the upper part of the
    window.
    BEGIN BATCH MODE RESPONSE USING utf8
    ---------------------------------------------------------------------------------------------
    SQL query:
    INSERT INTO Tesis SET TesisNumero = '1', TesisFecha =
    '2004-07-12', TesisAutor = 'Edgar Alay&#65533;n, Greicy Bonaldy,
    Deyvis Febres, Belkis Valera', TesisTitulo = 'MANUAL DE
    NORMAS Y PROCEDIMIENTOS EN LA UNIDAD DE ADMINISTRACI&#65533;N DE
    CONTRATOS DE LA EMPRESA ALAR ALARMA, C.A.', TesisDetalles =
    'Normalizaci&#65533;n del Procedimiento de Facturaci&#65533;n del
    Departamento de Administraci&#65533;n de la Empresa Impotec, C.A.
    Autores: Alcega Rene, Aray Rub&#65533;n, Men&#65533;ndez Paula, Silva
    Jutmila, (2003)', TesisTeoria = 'Teor&#65533;a Cl&#65533;sica
    Teor&#65533;a de la Normalizaci&#65533;n
    Manuales', TesisTutor = 'Yajaira La Cruz de P&#65533;rez'; #
    Affected rows:1 INSERT INTO Tesis SET TesisNumero = '2',
    TesisFecha = '2004-07-12', TesisAutor = 'Harry J. Anderson
    Hern&#65533;ndez, Eva A. Chirino Valido, Jos&#65533; A. Rinc&#65533;n Araque',
    TesisTitulo = 'DISE&#65533;O DEL MANUAL DE NORMAS Y PROCEDIMIENTOS
    PARA EL PROCESO DE RECLAMO DE FIDEICOMISO, CAJA DE AHORRO Y
    AHORRO HABITACIONAL DE LA UNIDAD DE SERVICIOS SEGMENTADOS
    DEL BANCO MERCANTIL', TesisDetalles = 'Elaboraci&#65533;n de un
    Manual de Normas y Procedimientos para el proceso de
    Atenci&#65533;n Telef&#65533;nica del Centro de Atenci&#65533;n Mercantil,
    Caracas, seg&#65533;n las Normas ISO 9002. etc, etc, etc.
    ----------------------------------------------------------------------------------------
    END BATCH MODE RESPONSE USING utf8

    BEGIN BATCH MODE RESPONSE USING UPPER PART OF THE SQL WINDOW
    ---------------------------------------------------------------------------------------------
    SQL query:
    INSERT INTO Tesis
    SET TesisNumero = '1',
    TesisFecha = '2004-07-12',
    TesisAutor = 'Edgar Alayn, Greicy Bonaldy, Deyvis Febres,
    Belkis Valera',
    TesisTitulo = 'MANUAL DE NORMAS Y PROCEDIMIENTOS EN LA
    UNIDAD DE ADMINISTRACIN DE CONTRATOS DE LA EMPRESA ALAR
    ALARMA, C.A.',
    TesisDetalles = 'Normalizacin del Procedimiento de
    Facturacin del Departamento de Administracin de la Empresa
    Impotec, C.A. <b>Autores: Alcega Rene, Aray Rubn, Menndez
    Paula, Silva Jutmila, (2003)</b>',
    TesisTeoria = 'Teora Clsica<br>Teora de la
    Normalizacin<br>Manuales',
    TesisTutor = 'Yajaira La Cruz de Prez';# Affected rows:1
    etc, etc, etc.
    ----------------------------------------------------------------------------------------
    END BATCH MODE RESPONSE USING USING UPPER PART OF THE SQL
    WINDOW.

     
  • Carlos Pérez

    Carlos Pérez - 2005-10-25

    Logged In: YES
    user_id=1204910

    Today I had another problem with the same situation.
    I tried the following query:
    ----------------------------------------------------------------------------------------------
    INSERT INTO `Variables` VALUES ( 'N', 'Frame',
    'EneIndexF05.php', 'Desc.En-08',
    '',
    '<br>It''s main function is to coordinate the Transmission
    Vice Presidency operations in reference to financial, human
    resources and administrative procedures, to constitute a
    base for key decision making in the different processes of
    the business. Assess, consolidate and propose financial
    information to the Transmission Vice Presidency, Operational
    Units and Corporate Finances in accordance with Generally
    Accepted Accounting Procedures and the Company corporative
    Norms.
    <br><br>Finances and Support also provides to the
    Transmission Vice Presidency with on time and efficient
    services in reference to Human Resources, Cash,
    Acquisitions, Warehouse and Sales to Third Party companies.',
    '2004-11-01 00:00:00', '2005-10-24 00:00:00' );
    ----------------------------------------------------------------------------------------------
    and got this answer back
    Server: My Personal Web Server - Database: Energia -
    Table: Variables "Variables a usar en todo el
    Sistema/Aplicacin"
    Error
    SQL query:
    INSERT INTO `Variables`
    VALUES (
    'N', 'Frame', 'EneIndexF05.php', 'Desc.En-08', '',
    '&lt;br&gt;It''s main function is to coordinate the
    Transmission Vice Presidency operations in reference to
    financial, human resources and administrative procedures, to
    constitute a base for key decision making in the different
    processes of the business. Assess, consolidate and propose
    financial information to the Transmission Vice Presidency,
    Operational Units and Corporate Finances in accordance with
    Generally Accepted Accounting Procedures and the Company
    corporative Norms. &lt;br&gt;&lt;br&gt;Finances and Support
    also provides to the Transmission Vice Presidency with on
    time and efficient services in reference to Human Resources,
    Cash, Acquisitions, Warehouse and Sales to Third Party
    companies.', '2004-11-01 00:00:00', '2005-10-24 00:00:00'
    )
    MySQL said:
    ----------------------------------------------------------------------------------------------
    The problem is that My sql error should have stated that the
    key already existed in the table due that that was the
    condition.
    Instead there is NO Mysql response as it does normally.

     
  • Marc Delisle

    Marc Delisle - 2005-11-03
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2005-11-03
    • assigned_to: lem9 --> nobody
     
  • Marc Delisle

    Marc Delisle - 2005-11-03

    Logged In: YES
    user_id=210714

    Development note: accented characters are not detected
    correctly when expressed in UTF-8.

     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580

    im sorry, but can someone give me a hint? i can not
    reproduce any of the erros mentioned here, i always get
    correctly MySQL errors back.

    tested with MySQL 4.0.24; 4.1.7; 4.1.15; 5.0.15;

    can someone cut down this problem to the core? a little dump
    with a little SQL, what should happen and what is happen?

    can this problem be a misconfiguration?

    Carlos Prez: can you please provide your collations (from
    PMA start page or/and server variables)

    btw. it would be nice if the sqlparser error output also
    holds the collations (server, client, connection, db?, table?)

     
  • Marc Delisle

    Marc Delisle - 2005-11-07

    Logged In: YES
    user_id=210714

    Sebastian,
    I cannot reproduce this bug under my test systems either,
    but Mr. Perez gets the bug anyway.

    If you take the encoded message and feed it to
    scripts/decode_bug.php, you'll see on which string the
    parser chokes.
    Then in sqlparser.lib.php, in the "Checks for something
    inside quotation marks", there is a loop that is supposed to
    find the closing quote. It finds it without problem on my
    systems. The data between positions 349 and 996 is found.

    I don't know what sets $GLOBALS['PMA_strpos'] but maybe on
    Mr. Perez system, it's different than on ours.

    I don't know if it's related, but
    string.lib.php/PMA_STR_isAccented() is not UTF-8 compatible,
    I think.

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-07

    First - SQL input area

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-07

    Sql query screen Answer

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-07

    PhpMyAdmin Settings

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-08

    PhpInfo details

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-08

    PhpMyAdmin configuration file

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-08

    Logged In: YES
    user_id=1204910

    In response to lem9 and cybot_tm.
    First in response to lem9 comment as of 2005-11-03
    Development note: accented characters are not detected
    correctly when expressed in UTF-8.
    The error occurs (not always) no matter if it is from a file
    or the sql window. When issued the update forma window I
    have attached 2 images of the problem. The images are 01Sql
    and 02Sql.

    Second. in response to cybot_tm I have attached an image
    with the PhpMyAdmin start page (01Config.png), an Excel file
    with the PhpInfo (PhpInfo.xls), my PhpMyAdmin config file
    (config.inc.php) and my php.ini file.

     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580

    can you plaese try to upgrade your mysql client lib, (usally
    in windows/system32/libmysql.dll) with the one from your php
    folder?

    and just to be safe, did you tried any other mysql
    connection collation than latin1_spanish_ci? f.e
    utf8_spanish_ci?

    and last can you please attach the output of
    print_r($GLOBALS), best inserted somewhere in
    footer.inc.php? (but remove sensitive information!)

    thanks for your patiance!

    lem9: you dont know _what_ sets $GLOBALS['PMA_strpos']? or
    you dont know what is it set to?

     
  • Marc Delisle

    Marc Delisle - 2005-11-08

    Logged In: YES
    user_id=210714

    Sebastian,
    when I wrote my message, I did not know where it was set but
    now I know :) I guess that in his case, it contains
    'mb_strpos' and there is a problem with it on PHP 4.4.0/WinNT.

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-08

    Globals for PhpMyAdmin

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-08

    Logged In: YES
    user_id=1204910

    For cybot_tm;

    ONE: I have attached a file PhpMyAdminGlobals.php with the
    globals variables as you requested.

    TWO: There is NO libmysql.dll in NONE of the directories
    within the PHP installation, so I can't do what you requested.

    THREE: I haven't tried any other collation, I can try BUT, I
    have this very same installation in my laptop, and also the
    same definition under Linux FEDORA CORE 3 (open source) and
    also under Linux FEDORA REDHAT (licensed) installed under
    different servers (HP and IBM) in the company in which I
    work and in them I don't have this problem.
    The main difference is the versions installed which are:
    (PhpMyAdmin 2.6.3-pl1, mysql version 4.0.20a-nt in windows
    in the installations WITHOUT problems)
    (PhpMyAdmin 2.6.4-pl3, mysql version 4.1.13a-nt in windows
    in the installation WITH problems).

     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580

    and do your installation without problems also use MySQL
    3.23.x client lib?

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-08

    Logged In: YES
    user_id=1204910

    TO cybot_tm in response to Date: 2005-11-08 13:02

    I really don't understand this question
    and do your installation without problems also use MySQL
    3.23.x client lib?
    I use mysql as a server not as a client so I don't know
    where or what to look for.

     
  • Marc Delisle

    Marc Delisle - 2005-11-08

    Logged In: YES
    user_id=210714

    Mr Perez: in your phpinfo.xls you attached here, you can see
    in the "mysql" section "Client API version 3.23.49".

    You use MySQL as a server, but the web server is a client
    for the MySQL server, and uses this library, which is quite
    old and could explain your problems.

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-08

    Logged In: YES
    user_id=1204910

    TO lem9 in response to Date: 2005-11-08 16:39
    Yes in my other window installation it's the same mysql version.

    This install, the one with the machine with problems is
    MySql version
    4.1.13, it's an auto install downloaded from the MySql web
    page it's name is mysql-4.1.13a-win32.zip and if any of the
    libraries is old it's nothing I can do to fix it, THIS IS A
    SETUP, AUTOINSTALL program in which I can't select nothing
    special about libraries or dll or any other stuff.

    Furthermore, I DOUBT that the problem is a MySql problem due
    to the fact that if I do any or all of the queries involved
    in this problem at the command line, I get always the
    correct response from mysql.
    MORE: I have other tables which are to big, and I have to
    update them via CLI, I have done the updates, I have
    commited erros like duplicating the same query and I allways
    get back some kind of answer that corresponds to the error I
    did so I allways know what to do.

    MORE the error (SINCE MY FIRST INPUT) is not an error
    detected by mysql but an error programed INTO PhpMyAdmin so
    you should look into the code to see what is going on and
    not trying to blame my installation or the versions f mysql
    installed.

    MORE I have a few morre errors that I have with THIS version
    of PhpMyAdmin which I haven't sent because this one is still
    open.

    MORE: this kind of problem did not happende with the version
    before this one, I had the very same installation, and THE
    PROBLEMS BEGAN WITH THIS VERSION of PhpMyAdmin.

     
  • Sebastian Mendel

    Logged In: YES
    user_id=326580

    We dont try to blame your installation for the errors you
    get, but we can not reproduce your problem - i tested with
    MySQL 4.0 4.1 and 5.0 with latest phpMyAdmin on Windows XP
    and PHP 5.0.4 - so we try to find whats special on your
    installation what makes this error occur in phpMyAdmin.

    The client lib is the library (under Windows a .dll) which
    is used by PHP to connect to the MySQL server, this file is
    not installed by MySQL it comes with PHP - but PHP 4.4.0
    does not have this version you reported so it seems that you
    have an old version of this lib on your system.

    btw. did you took a look into the source of the outputed
    html when the 'mysql said error' is empty? possible
    something prevents just from displaying.

    Thanks for your patiance.

     
  • Carlos Pérez

    Carlos Pérez - 2005-11-09

    Logged In: YES
    user_id=1204910

    Which (specifically) is the .dll I should look for to see
    it's date and verify.
    You have never told me it's name.

    At this moment I'm online with 4 installations (2 windows
    XP, 2 Linux RedHat Licensed)so I can do a lot of search.

     
  • Marc Delisle

    Marc Delisle - 2005-11-09

    Logged In: YES
    user_id=210714

    Mr Perez, you wrote:
    "The main difference is the versions installed which are:
    (PhpMyAdmin 2.6.3-pl1, mysql version 4.0.20a-nt in windows
    in the installations WITHOUT problems)
    (PhpMyAdmin 2.6.4-pl3, mysql version 4.1.13a-nt in windows
    in the installation WITH problems)."

    So, how can you say:
    "MORE: this kind of problem did not happen with the version
    before this one, I had the very same installation, and THE
    PROBLEMS BEGAN WITH THIS VERSION of PhpMyAdmin."

    Based on what you are telling us, you changed the MySQL
    version AND the phpMyAdmin version.

     
1 2 > >> (Page 1 of 2)
MongoDB Logo MongoDB