com.mysql.jdbc.PacketTooBigException

前端 未结 9 1215
别那么骄傲
别那么骄傲 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:50

    I had the same misleading error message.

    I fixed it by changing my port number to 3306. Previously I had the port number set as 2083 because that's what I use on my web server.

提交回复
热议问题