zim32 / mysql.dart

MySQL client for Dart written in Dart
BSD 3-Clause "New" or "Revised" License
67 stars 18 forks source link

How to pass empty password #41

Open sulthanalihsan opened 2 years ago

sulthanalihsan commented 2 years ago

await MySQLConnection.createConnection( host: '127.0.0.1', port: 3306, userName: 'root', password: 'root', databaseName: 'coba_dart_mysql', secure: false, );

hi, thank you for making this excellent package, i just wanna ask, for connection sometime our local mysqldb not require the password, how to handle this case? thx

zim32 commented 2 years ago

This flow is not implemented... I don't think it's hard to implement, but currently I have lack of time, maybe next week I will check it out. You can provide some password as a workaround before it's implemented

sulthanalihsan commented 2 years ago

okay i see, thankyou for your response, appreciate