i have normal local server running with MySQL , PHP ,... I tried to write a Lazarus programm to enter stuff in the SQL. I can access from every computer in my network the PHPMyAdmin page under http://192.168.1.119:8888/phpmyadmin/
So my Lazarus procedure to connect looks like:
procedure TForm1.Button1Click(Sender: TObject);
begin
MySQLConnection1.HostName := '192.168.1.119:8888';
MySQLConnection1.UserName := 'root';
MySQLConnection1.Password := 'root';
MySQLConnection1.DatabaseName := 'mysql';
MySQLConnection1.Open;
When I press now the Button I get:
Cannot load default mysql libary (libmysql.dll or libmysql.dll)
When I download the libmysql.dll the i get the message that 5.6 is expected but 6.1 found. When I try to add the 5.6 i get the some error message with cannot load default....
regards Tim