Embedded Server Error

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
trevorwong
Posts: 1
Joined: Fri 24 Feb 2006 04:19

Embedded Server Error

Post by trevorwong » Fri 24 Feb 2006 04:25

I tried to run your demo embedded server program, I have copied the necessary file and at design time, I can set the MyEmbConnection.Connected to true, but at run time, when I connect, a error mesage appeared. "Win 32 Error. Code 183. Cannot create a file when that file already exists". I have a MySQL 4.1 Server running, but after I had stopped it, the error message still appeared. But when I copied the application to another machine which has no MySQL Server installed, the program worked fine. So what file the does application need to create? I am using delphi 5 professional, MyDAC 4.3, WinXP Pro SP2, MySQL Server 4.1.12. Thank you.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 24 Feb 2006 08:16

Try to delete or rename file \My.ini and start your application one more time. If it won't help try using OnLog and OnLogError evens, as shown in our Embedded demo, to determine what the problem is.

Post Reply