We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm making a mySql connection with dard but I aways getting this error:
Unhandled exception: SocketException: Socket has been closed
to this code below:
`import 'dart:async'; import 'package:mysql1/mysql1.dart';
class Connect {
Future conection() async { final conn = await MySqlConnection.connect(ConnectionSettings( host: '', port: 3306, user: '', db: '', password: '', useCompression: false, useSSL: false, timeout: const Duration(seconds: 20)));
return conn;
}
Does someone knows how to fix it?
In this code I return conn because I use it in another class that finds my query, that I'm making in a dynamic way.
The text was updated successfully, but these errors were encountered:
Any update on this?
The latest MySQL docker image is pointing to 8.4.0, and this is breaking connections.
Sorry, something went wrong.
No branches or pull requests
I'm making a mySql connection with dard but I aways getting this error:
Unhandled exception:
SocketException: Socket has been closed
to this code below:
`import 'dart:async';
import 'package:mysql1/mysql1.dart';
class Connect {
Future conection() async {
final conn = await MySqlConnection.connect(ConnectionSettings(
host: '',
port: 3306,
user: '',
db: '',
password: '',
useCompression: false,
useSSL: false,
timeout: const Duration(seconds: 20)));
}
}
Does someone knows how to fix it?
In this code I return conn because I use it in another class that finds my query, that I'm making in a dynamic way.
The text was updated successfully, but these errors were encountered: