New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TimeoutException #15
Comments
Please make sure you can access you database. You can check it using telnet or console mysql client or whatever you like |
I can access my db using console. mysql> select * from deneme.sehirler where id=1; mysql> |
Hm. Maybe same as here? |
it can be but ı don't know how can ı change. do you know? |
Try to connect to mysql from console, restart flutter app and check if issue still exists |
if I use my phone ip: if I use my pc ip: but if I use emulator and using 10.0.2.2 in the host it working. I want to use my phone what shold ı do. |
You want to connect from your phone to what? Where is mysql server? |
Also check that you have Internet permission in your app |
mysql server is in my pc |
My app has a internet permission in the androidmanifest.xml |
When I use emulator its working but not working in my phone |
What exception you got when trying from your phone? |
if I write to host: "127.0.0.1" I/flutter (15314): Connecting to mysql server... if I write to host: "192.168.1.103" //pc ip I/flutter (15314): Connecting to mysql server... |
As I understand you phone and PC are in the same wifi network. And your mysql server is listening on 0.0.0.0 address (not 127.0.0.1)? |
|
You must find |
where can I find this |
What operation system? |
windows 10 |
There should be my.ini or my.cfg file in mysql directory. You can read official mysql documentation |
I didn't find anything. the problem will be something else ı guess |
Can you try release 0.0.15 |
Possible duplicate of |
E/flutter (13703): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: TimeoutException after 0:00:05.000000: Future not completed
E/flutter (13703):
E/flutter (13703): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: Exception: MySQL error: Got timeout reading communication packets
its the error code using example.
can anyone help me about this?
The text was updated successfully, but these errors were encountered: