Page 1 of 1

Could not load libmysql.dll cbuilder 6 embedded

Posted: Thu 22 Nov 2007 19:45
by eldonfsr
Hi i doing test of mysql embedded but when i active that always send this message could dont load libmyslq.dll make sure your path or put such in main unit, i put such dll where i have my application but i dont get work this, i dont what i can do to solve i have mysql 4.1.22, pls can help me...


bye.
Fernando Sandoval

Posted: Fri 23 Nov 2007 08:46
by Antaeus
I tested this issue with the last MyDAC (5.20.0.12) and found no problems.
Please specify, in what cases do you get this error:
- launching the program from IDE (using the F9 button);
- launching the program without IDE;
- at design time.

What component do you use for connection, TMyConnection or TMyEmbConnection?

An desing time and after run project

Posted: Fri 23 Nov 2007 16:55
by eldonfsr
This message apper when on desing time and also after pres f9 in eveny show i put activate of conection also here apper such message, thanks for your attention...


bye.
Fernando Sandoval

Posted: Mon 26 Nov 2007 15:24
by Antaeus
What edition of MyDAC do you use (Trial/Standard/Professional)?
Are you able to connect to the standard MySQL server from your application? If you are not, what error messages do you see?

Posted: Thu 29 Nov 2007 01:23
by eldonfsr
I using mydac trial.

This the message

Posted: Thu 29 Nov 2007 01:30
by eldonfsr
Mysqlclient could not be loaded, please place libmysql.dll file to system folder.....


such dll is on the same folder of my system. my.ini also in on same folder.

i get conect mysql as local host in normal connection but not as embedded server..


bye.
Fernando

Posted: Thu 29 Nov 2007 08:20
by Antaeus
To connect to MySQL Embedded Server, you should place the libmysqld.dll file (in your error message the libmysql.dll file was mentioned) into your application's folder. Place the TMyEmbConnection component onto the form and provide settings to connect to a database. You can also connect to MySQL Embedded Server using the TMyConnection component with the Embedded option set to True.
MyDAC does not use the my.ini file.

Is the same problem

Posted: Fri 30 Nov 2007 03:28
by eldonfsr
I make a test with TmyConnection with embedded option but when i make active that send me same message, but it connect well when in disable embedded option.


thanks.
Fernando Sandoval

Posted: Fri 30 Nov 2007 12:38
by Antaeus
Could you send me a complete small test project including the embedded server library, and the required folders (the share and data folders)?
You can use mydac*crlab*com.
Also supply me the following information:
- exact version of MyDAC. You can see it in the About sheet of TMyConnection Editor;
- exact version of your IDE.