我正在尝试将飞镖与 MySQL 数据库连接起来。我安装了 MySQL 工作台并创建了一个简单的数据库,修改了 pubspec.yaml 并添加了 MySQL 所需的任何其他依赖项。但是我一直在浏览器中提出一个异常。
例外:不支持的操作:RawSocket 构造函数 STACKTRACE:dart:sdk_internal connect package:sqljocky5/comm/buffered_socket.dart 60:7 defaultSocketFactory package:sqljocky5/comm/buffered_socket.dart 72:20 connect dart:sdk_internal async package:sqljocky5/comm/buffered_socket .dart 70:6 连接包:sqljocky5/comm/comm.dart 163:26 连接 dart:sdk_internal 异步包:sqljocky5/comm/comm.dart 156:53 连接包:sqljocky5/connection/impl.dart 102:22 连接 dart :sdk_internal 异步包:sqljocky5/connection/impl.dart 101:64 连接包:sqljocky5/connection/connection.dart 36:7 连接包:pbcat_form/src/start/start.dart 84:22 主要 dart:sdk_internal 异步包: pbcat_form/src/start/start.dart 75:10 主包:angular/src/core/zone/ng_zone.dart 134:16 dart:sdk_internal 运行包:angular/src/core/zone/ng_zone。dart 131:12 [_run] dart:sdk_internal runGuarded package:angular/src/core/zone/ng_zone.dart 302:22 runGuarded package:angular/src/core/linker/app_view.dart 582:7 package:sqljocky5/comm/ buffered_socket.dart 70:6 连接包:sqljocky5/comm/comm.dart 163:26 连接 dart:sdk_internal 异步包:sqljocky5/comm/comm.dart 156:53 连接包:sqljocky5/connection/impl.dart 102:22 连接dart:sdk_internal async package:sqljocky5/connection/impl.dart 101:64 connect package:sqljocky5/connection/connection.dart 36:7 connect package:pbcat_form/src/start/start.dart 84:22 main dart:sdk_internal async package :pbcat_form/src/start/start.dart 75:10 主包:angular/src/core/zone/ng_zone.dart 134:16 dart:sdk_internal 运行包:angular/src/core/zone/ng_zone.dart 131:12 [_run] dart:sdk_internal runGuarded package:angular/src/core/zone/ng_zone。dart 302:22 runGuarded 包:angular/src/core/linker/app_view.dart 582:7