mysql1_dart icon indicating copy to clipboard operation
mysql1_dart copied to clipboard

facing the error that my ip is not allowed to connect with mysql server how can i resolve this?

Open DhruvAkshay opened this issue 3 years ago • 1 comments

/flutter (27836): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: Error 1130 (ost '): 192.168.43.144' is not allowed to connect to this MySQL server E/flutter (27836): #0 Handler.checkResponse (package:mysql1/src/handlers/handler.dart:77:7) E/flutter (27836): #1 HandshakeHandler.processResponse (package:mysql1/src/auth/handshake_handler.dart:129:5) E/flutter (27836): #2 ReqRespConnection._handleData (package:mysql1/src/single_connection.dart:349:32) E/flutter (27836): #3 ReqRespConnection._handleHeader (package:mysql1/src/single_connection.dart:318:13) E/flutter (27836): E/flutter (27836): #4 ReqRespConnection._readPacket (package:mysql1/src/single_connection.dart:303:7) E/flutter (27836): E/flutter (27836):

DhruvAkshay avatar Jun 06 '22 11:06 DhruvAkshay

I had received this error when working on a personal project and it was caused when the app wasn't able to connect to the internet.

Have you added internet permissions in your XML file? Can your emulator access the internet? Let me know if this helped

safwanyp avatar Jul 03 '22 19:07 safwanyp