Discussion:
No MySQL-Database connect vw7.9pul
(too old to reply)
horst
2013-01-10 09:42:39 UTC
Permalink
Hey!

I try to conntect my mysql-database with vw7.9pul.

mysql := MySQLConnection new.
mysql environment: 'myMysqlDatabase'.
mysql username: 'root'.
mysql password: 'root'.
mysql connect.

But I get the message:
Could not load libery mysqldll.dll


If I try connect to AdHoc SQL I get the message:
Unhandled exception: Message not understood: #isEmpty
SystemError(Object)>>doesNotUnderstand:

ConnectionDialog class>>messageFor:from:
optimized [] in [] in ConnectionDialog class>>connect:
BlockClosure>>cull:
LibraryNotLoadedError(GenericException)>>performHandler:
LibraryNotLoadedError(GenericException)>>propagatePrivateFrom:
LibraryNotLoadedError(GenericException)>>propagateFrom:
LibraryNotLoadedError(GenericException)>>propagate
LibraryNotLoadedError(GenericException)>>raiseSignal
LibraryNotLoadedError class(GenericException class)>>raiseWith:
ExternalLibrary>>primLoadLibrary:
ExternalLibrary>>load
ExternalLibraryHolder>>load

What is wrong?
How could I read the right adjustment.

Because If I try a connect with my postgres DB everything works fine!
Also If try connect to AdHoc SQL

ps := PostgreSQLEXDIConnection new.
ps environment: 'mypostgredatabse'.
ps username: 'root'.
ps password: 'root'.
ps connect.



Horst
Fyndhorn Elder
2013-12-01 00:09:28 UTC
Permalink
Hi,
Post by horst
Hey!
I try to conntect my mysql-database with vw7.9pul.
mysql := MySQLConnection new.
mysql environment: 'myMysqlDatabase'.
mysql username: 'root'.
mysql password: 'root'.
mysql connect.
Could not load libery mysqldll.dll
As it seems you are working in windows, put the .dll files of your MySQL installation in your PATH. Either that or you put the appropriate .dll files in C:\Windows or C:\Windows\System.
Post by horst
Unhandled exception: Message not understood: #isEmpty
LibraryNotLoadedError(GenericException)>>propagate
LibraryNotLoadedError(GenericException)>>raiseSignal
ExternalLibrary>>load
ExternalLibraryHolder>>load
What is wrong?
How could I read the right adjustment.
This is exactly the same problem as described above. Your stack unrolls until you cannot load the .dll file (a dll file is a shared library in windows.)
Post by horst
Because If I try a connect with my postgres DB everything works fine!
Also If try connect to AdHoc SQL
See above.

FE
--
Time heals.
My blog : https://thediaryofelvishhealer.blogger.com
Loading...