AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Projekte MySQL via PHP-Tunnel (über eigene libmysql.dll)
Thema durchsuchen
Ansicht
Themen-Optionen

MySQL via PHP-Tunnel (über eigene libmysql.dll)

Ein Thema von omata · begonnen am 22. Feb 2010 · letzter Beitrag vom 25. Mai 2015
Antwort Antwort
Seite 5 von 5   « Erste     345   
Benutzerbild von himitsu
himitsu

Registriert seit: 11. Okt 2003
Ort: Elbflorenz
44.374 Beiträge
 
Delphi 12 Athens
 
#1

AW: MySQL via PHP-Tunnel (über eigene libmysql.dll)

  Alt 25. Aug 2010, 08:46
Eine andere DLL ist nicht möglich, da dieses eine "Eigenentwicklung" ist, welche mit dem PHP-Script redet.

Probier mal die Version aus dem Post #36.
Ein Therapeut entspricht 1024 Gigapeut.

Geändert von himitsu (25. Aug 2010 um 08:49 Uhr)
  Mit Zitat antworten Zitat
Ajin

Registriert seit: 23. Feb 2006
Ort: Mons
252 Beiträge
 
Delphi 2010 Professional
 
#2

AW: MySQL via PHP-Tunnel (über eigene libmysql.dll)

  Alt 25. Aug 2010, 08:59
Ich hab die DLL aus Post #36 eben getestet. Leider bleibt der Errorcode 0.
  Mit Zitat antworten Zitat
janvanbogget

Registriert seit: 22. Feb 2013
Ort: Opoeteren ( Belgien)
2 Beiträge
 
Delphi 2007 Professional
 
#3

AW: MySQL via PHP-Tunnel (über eigene libmysql.dll)

  Alt 12. Mär 2013, 10:12
Ich habe ein Problem: wenn ich den umzug Delphi antrag gestellt, um einen PC, wo Delphi nicht installiert ist, dann ist es nicht mehr zu existieren. Ich habe aber den zugehörigen dll's dbxmys.dll und libmysql.dll in das arbeitsverzeichnis und im System32 ordner geschrieben.

Wenn ich zu diesem Host verbinden möchten bekomme ich eine Fehlermeldung: DBX Error: Warning

Wenn die anwendung auf dem entwickler-Station funktioniert und auf einem PC ohne Delphi nicht, dann nehme ich an, dass es noch einige notwendigkeit, auf dem PC, wo kein delphi installiert ist, aber was? Kann mir jemand ein tipp / hint geben ?

ps: ich kann nicht Deutsch schreiben (Hilfe von Google Übersetzer)


Vielen Dank für jede Hilfe
Jan

Geändert von janvanbogget (12. Mär 2013 um 11:10 Uhr)
  Mit Zitat antworten Zitat
janvanbogget

Registriert seit: 22. Feb 2013
Ort: Opoeteren ( Belgien)
2 Beiträge
 
Delphi 2007 Professional
 
#4

AW: MySQL via PHP-Tunnel (über eigene libmysql.dll)

  Alt 15. Nov 2013, 07:30
Dear,


I have tested your application.

I have compiled your source code with Delphi 2007 Win32, and it works great !

But your dll libmysql.dll is a 32-bits dll, and i work With Lazarus 64 bit ..
So my application can not work with the 32-bits dll.

My question is this : You have make a 64-bits dll ? If you have make this, is it possible that i can use this dll ?

Best Greetings, Jan Van Bogget ( Belgium ) vanbogget.jan@gmail.com
Jan
  Mit Zitat antworten Zitat
sippytom

Registriert seit: 21. Mai 2015
7 Beiträge
 
#5

AW: MySQL via PHP-Tunnel (über eigene libmysql.dll)

  Alt 25. Mai 2015, 05:59
Hi,
I am English so sorry I cannot ask this question in German.
I have tested your Zeos addition and am very happy.
One problem I have is in inserting some characters into a database.
Here is a demo from your program which will show the error.
INSERT INTO nodes VALUES (4, 2, 'AA:=1234; bbA');

The error occurs around the ":=".
Has this something to do with the way the data is sent to the php file.
If so,is their a way around the error.
Thanks in advance

OR. are their any other sql tunnel routines available.

Tom Duncan
Australia

Geändert von sippytom (25. Mai 2015 um 07:18 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von Sir Rufo
Sir Rufo

Registriert seit: 5. Jan 2005
Ort: Stadthagen
9.454 Beiträge
 
Delphi 10 Seattle Enterprise
 
#6

AW: MySQL via PHP-Tunnel (über eigene libmysql.dll)

  Alt 25. Mai 2015, 07:27
Hi Tom,

please show us the exact and real code enclosed in
Code:
[DELPHI][/DELPHI]
tags.
Do not show us look alike code.

I supect, that your code looks something like
Delphi-Quellcode:
var
  stmt : string
begin
  stmt := 'INSERT INTO nodes VALUES (4, 2, 'AA:=1234; bbA');';
end;
Kaum macht man's richtig - schon funktioniert's
Zertifikat: Sir Rufo (Fingerprint: ‎ea 0a 4c 14 0d b6 3a a4 c1 c5 b9 dc 90 9d f0 e9 de 13 da 60)
  Mit Zitat antworten Zitat
sippytom

Registriert seit: 21. Mai 2015
7 Beiträge
 
#7

AW: MySQL via PHP-Tunnel (über eigene libmysql.dll)

  Alt 25. Mai 2015, 07:31
Sorry for that.
Yes that is the code.
It seems as though the error is the ":" or "=" or the ";" which causes the error.

Tom
  Mit Zitat antworten Zitat
Benutzerbild von Sir Rufo
Sir Rufo

Registriert seit: 5. Jan 2005
Ort: Stadthagen
9.454 Beiträge
 
Delphi 10 Seattle Enterprise
 
#8

AW: MySQL via PHP-Tunnel (über eigene libmysql.dll)

  Alt 25. Mai 2015, 08:02
Syntax Highlight will tell you what is wrong

wrong code
Delphi-Quellcode:
var
  stmt : string
begin
  stmt := 'INSERT INTO nodes VALUES (4, 2, 'AA:=1234; bbA');';
end;
right code
Delphi-Quellcode:
var
  stmt : string
begin
  stmt := 'INSERT INTO nodes VALUES (4, 2, ''AA:=1234; bbA'');';
end;
You simply have to double the quotes inside the string
Kaum macht man's richtig - schon funktioniert's
Zertifikat: Sir Rufo (Fingerprint: ‎ea 0a 4c 14 0d b6 3a a4 c1 c5 b9 dc 90 9d f0 e9 de 13 da 60)
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 5 von 5   « Erste     345   


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 23:11 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz