更改資料庫連接,testdb->care(HistoricalPage)
This commit is contained in:
@@ -80,7 +80,7 @@ class _PersonalInfoState extends State<PersonalInfo> {
|
||||
}
|
||||
|
||||
void _saveChanges() async {
|
||||
/*final conn = await MySQLConnection.createConnection(
|
||||
final conn = await MySQLConnection.createConnection(
|
||||
host: '203.64.84.154',
|
||||
port: 33061,
|
||||
userName: 'root',
|
||||
@@ -88,7 +88,7 @@ class _PersonalInfoState extends State<PersonalInfo> {
|
||||
databaseName: 'care',
|
||||
);
|
||||
|
||||
await conn.connect();*/
|
||||
await conn.connect();
|
||||
|
||||
try {
|
||||
await conn.execute(
|
||||
|
||||
Reference in New Issue
Block a user