Hallo, hab versucht mit der ZConnection auf MySQL zuzugreifen!
Die MySQL DB ist auf dem Server! Die neueren DB'S haben ein
File als DB! Ich habe aber einzelne Tabelle.MYD .MYI .frm und eine .opt
Was stelle ich in ZConnection ein für Database?
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45:
| object DBGrid1: TDBGrid Left = 175 Top = 200 Width = 496 Height = 191 DataSource = DataSource1 TabOrder = 0 TitleFont.Charset = DEFAULT_CHARSET TitleFont.Color = clWindowText TitleFont.Height = -11 TitleFont.Name = 'MS Sans Serif' TitleFont.Style = [] end object DataSource1: TDataSource DataSet = ZTable1 Left = 105 Top = 215 end object ZTable1: TZTable Connection = ZConnection1 CachedUpdates = False ReadOnly = True ShowRecordTypes = [usUnmodified, usModified, usInserted] UpdateMode = umUpdateChanged WhereMode = wmWhereKeyOnly Options = [doCalcDefaults] Left = 110 Top = 153 end object ZConnection1: TZConnection Protocol = 'mysql-4.1' HostName = '192.168.178.22' Port = 0 Database = 'net4move' AutoCommit = True ReadOnly = True TransactIsolationLevel = tiNone Connected = False SQLHourGlass = False User = 'root'; Password = ''; Left = 65 Top = 145 end end |