mysql_cli_client 1.0.1 copy "mysql_cli_client: ^1.0.1" to clipboard
mysql_cli_client: ^1.0.1 copied to clipboard

A simple wrapper for calling the mysql command line client from Dart.

mysql_cli_client #

A simple wrapper for calling the mysql command line client from Dart.


  final mysql =
      MySQL(user: 'root', password: config.adminPassword!, schema: dbSchema);

  // wait for mysql to start.
  await mysql.waitForMysql();

  print('Running backup of $dbSchema.');
  mysql.backup(selectedBackupFile);

  mysql.dropSchema();
  mysql.createSchema();

  mysql.restore(selectedBackupFile);

  mysql.createUser(username: 'brett', password: 'a apasswrod');

  var results = mysql.toList('select * from user');

0
likes
140
pub points
22%
popularity

Publisher

verified publisheronepub.dev

A simple wrapper for calling the mysql command line client from Dart.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

dcli, lint_hard

More

Packages that depend on mysql_cli_client