Autor Beitrag
JRegier
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Di 21.06.05 16:59 
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?

ausblenden volle Höhe Delphi-Quelltext
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'     // so jetzt klappts 
    AutoCommit = True                              
    ReadOnly = True                                 
    TransactIsolationLevel = tiNone                  
    Connected = False                               
    SQLHourGlass = False
    User = 'root';
    Password = '';
    Left = 65
    Top = 145
  end
end
direction4delphi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 84

WIN 95, WIN 98, WIN ME, WIN NT, WIN 2000, WIN XP, VISTA
D2 Prof, D4 Prof,D2005 Prof, Delphi4Php
BeitragVerfasst: Do 30.06.05 10:23 
Ist der Eintrag noch aktuell wenn ja, in der Std Config mysql darf der user root nur von localhost auf den Server zugreifen

mfg
MILLI
JRegier Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1268

Win XP Home, Prof, 2003 Server
D6 Enterprise
BeitragVerfasst: Do 30.06.05 11:57 
user profile icondirection4delphi hat folgendes geschrieben:
Ist der Eintrag noch aktuell wenn ja, in der Std Config mysql darf der user root nur von localhost auf den Server zugreifen

mfg
MILLI


Ist gut, hat sich erledigt, wie ich oben im Code geschrieben habe // so klappts! Danke!