Embedded server question
Embedded server question
Hi,
I try the embedded server example and createtd the file C:\windows\my.ini with this values:
[Embedded.exe]
datadir=C:/Borland/Delphi6/MyDac/Demos/Embedded/data
basedir=C:/Borland/Delphi6/MyDac/Demos/Embedded/
But I cannot connect.
In the help file there is also a [embedded] option, what values can I use there ?
When I change the ini file to a exsisting database like this:
datadir=c:/MySQL/data/
basedir=c:/MySQL
then i also cannot connect.
I use Delphi 6 and MySQL server 4.1
Thanks,
Jan
I try the embedded server example and createtd the file C:\windows\my.ini with this values:
[Embedded.exe]
datadir=C:/Borland/Delphi6/MyDac/Demos/Embedded/data
basedir=C:/Borland/Delphi6/MyDac/Demos/Embedded/
But I cannot connect.
In the help file there is also a [embedded] option, what values can I use there ?
When I change the ini file to a exsisting database like this:
datadir=c:/MySQL/data/
basedir=c:/MySQL
then i also cannot connect.
I use Delphi 6 and MySQL server 4.1
Thanks,
Jan
MySql 4.1.9-nt-max via TCP/IP
MyDac version 3.50.0.16 21.01.05 (trial version)
And the error in the logfile is:
050215 10:47:12 [ERROR] Can't init databases
The error in the app is: A call to mysql_server_init() failed.
By the way, I have thesame error when I try it with C++Builder 5 and I stopped first the MySQL service on my develop machine.
Thanks,
Jan
MyDac version 3.50.0.16 21.01.05 (trial version)
And the error in the logfile is:
050215 10:47:12 [ERROR] Can't init databases
The error in the app is: A call to mysql_server_init() failed.
By the way, I have thesame error when I try it with C++Builder 5 and I stopped first the MySQL service on my develop machine.
Thanks,
Jan
Yes.
I have copied the app to C:\MySQL and the database to C:\MySQL\Data
By default the application is located in:
C:/Borland/Delphi6/MyDac/Demos/Embedded
so I have changed to this:
[Embedded.exe]
datadir=C:/Borland/Delphi6/MyDac/Demos/Embedded/data
basedir=C:/Borland/Delphi6/MyDac/Demos/Embedded
But the same problem.
Must I added extra lines to the my.ini file ?
Jan
I have copied the app to C:\MySQL and the database to C:\MySQL\Data
By default the application is located in:
C:/Borland/Delphi6/MyDac/Demos/Embedded
so I have changed to this:
[Embedded.exe]
datadir=C:/Borland/Delphi6/MyDac/Demos/Embedded/data
basedir=C:/Borland/Delphi6/MyDac/Demos/Embedded
But the same problem.
Must I added extra lines to the my.ini file ?
Jan