Recent

Author Topic: Error with mysql57bridge  (Read 1282 times)

kristof.project

  • New Member
  • *
  • Posts: 26
Error with mysql57bridge
« on: April 12, 2022, 08:48:07 am »
hello,

I finally installed LAMW on win10. ( to many probleme on kubuntu 21.10)
i try to use MySQL57Bridge.rar with libmysqlclient.so found on this forum

But,
Code: Pascal  [Select][+][-]
  1. MySQL57Bridge1.SQLQuery.Active:=true;

Give a exception "database not assigned!"

Code: Pascal  [Select][+][-]
  1.   MySQL57Bridge1.DatabaseName:='and';
  2.   MySQL57Bridge1.HostName:='xxx';
  3.   MySQL57Bridge1.Port:=xx;
  4.   MySQL57Bridge1.Password:='xx';
  5.   MySQL57Bridge1.UserName:='xxx';


the connection seems correct, i try wrong database/hostname on have an error.

I could have made a mistake ??
Thank
Lubuntu 22.04

jmpessoa

  • Hero Member
  • *****
  • Posts: 2330
Re: Error with mysql57bridge
« Reply #1 on: April 14, 2022, 12:50:57 am »

Hi, kristof!

Yes, MySQL57Bridge has some bug and unfortunately i can't fix it... sorry  :'(
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

kristof.project

  • New Member
  • *
  • Posts: 26
Re: Error with mysql57bridge
« Reply #2 on: April 18, 2022, 06:58:11 pm »

Hi, kristof!

Yes, MySQL57Bridge has some bug and unfortunately i can't fix it... sorry  :'(

Thank,

So, it may possible with send a php request like this

Code: [Select]
http://MyWonderfullSite.me/index.php?req1=xx&req2=xxx

or a post form ??

and return a page with answer
Code: [Select]
rep1;rep2;xxx

Or the anwser be like a inifile ??

Code: [Select]

[query]
line=x
row1=val1;val2;val3
row2=val1;val2;val3
../..





Lubuntu 22.04

jmpessoa

  • Hero Member
  • *****
  • Posts: 2330
Re: Error with mysql57bridge
« Reply #3 on: April 18, 2022, 07:47:46 pm »
Quote
So, it may possible with send a php request like this

Yes, I you can try jHttpClient component or pure FreePascal  FPHttpCilent .....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018