mysql1_dart
mysql1_dart copied to clipboard
MySQL driver for Dart
Sometimes I have very long wait times for a query to return data. Can i cancel the connection somehow?
What is the proper usage of: MySqlClientError MySqlException MySqlProtocolError ? Perhaps using this would be answer some if not all of the questions here ? Thank You. p.s. If possible...
I generated the apk in release mode, I install it on my phone and I never get the connection done to the DB, I do exactly the same using debug...
Unhandled Exception: Bad state: Cannot write to socket, it is closed (UPDATE statement)
Hi. I'm trying to call a simple stored procedure: ``` Future getUsers() async { final conn = await MySqlConnection.connect(Config.dbConnectionSettings); const query = "CALL `getUsers`();"; final results = await conn.query(query); final...
using stored procedures one after another gives unexpected behavior here is my code ... ``` import 'package:flutter/material.dart'; import 'package:mysql1/mysql1.dart'; void main() { runApp(MaterialApp(home: const SQL(),)); } class SQL extends StatefulWidget...
Upon connecting to my hosted database on go daddy today, I always encounter this error. Efforts appreciated.
Not connecting with MySQL Daemon and user running with Authentication Plugin 'caching_sha2_password'
Currently is impossible to connect to a MySQL Daemon with a user using the new Authentication Plugin `caching_sha2_password` (the default for the latest MySQL version). The only way to circumvent...
Flutter 2.5.1 mysql 8.0.26 ``` void main() { getConnection(); } void getConnection() async { var settings = ConnectionSettings( host: '192.168.31.201', port: 3306, user: 'flutter_user', db: 'flutter_demo_desktopapp', password: 'rootroot'); MySqlConnection conn...
Tried sql for the first time but i am getting this error SocketException: OS Error: Connection refused, errno = 111, address = localhost, port = 35396 my code: var settings...