Skip to content
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

Unhandled Exception: SocketException: OS Error: Connection refused #21

Closed
YuanTianyang opened this issue Jul 29, 2019 · 1 comment
Closed

Comments

@YuanTianyang
Copy link

var settings = new ConnectionSettings(
host: 'localhost',
port: 3306,
user: 'root',
password: '449534640',
db: 'test_app'
);
print("opening mysql");
var conn = await MySqlConnection.connect(settings);
print("opened mysql");

10:38:55.897 11 info flutter.tools E/flutter (23735): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 54215

@dhruv048
Copy link

Hi i am getting slimier issue, Did you resolve it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants