com.mysql.jdbc.PacketTooBigException

前端 未结 9 1186
别那么骄傲
别那么骄傲 2020-11-30 13:08

I have a big problem! when I do this:

 String query = \"SELECT * FROM utente WHERE confermato=1 and Username=\'\" + username
            + \"\' AND Password         


        
9条回答
  •  离开以前
    2020-11-30 13:46

    well we don't know how big your database is, but your query is pretty specific.

    as for max_allowed_packet, check this post:

    how to check and set max_allowed_packet mysql variable

提交回复
热议问题