Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-02

MySQL and Lazarus

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

HSO

I`ve downloaded the program mysql_query, very pretty, but i could not test it ,it makes boom boom.
I downloaded , opened in lazarus and compiled it, when i try to connect to the host that comes by default in it the error message is ok,even if i use a user unautorized the message is ok(actualy i have not yet configured my MySQL since the last app i`ve wrote used sqlite and i have only a database for tests) but when i use a correct user and a correct password the program crashes without explanation. I`m used to segmention fault , but in C/C++ we hace gdb (it helps a lot understanding wich variable caused the crash and why) when i use gdb in fpc programs it displays the sources correctly but can not seek inside the code where is the error. Of course the program runs in your machine(the one you`ve written) but, if the error is my libs i wish to know where, the stdout off program does not helped me, i can`t download the docs of fpc(the site does not respond) or even see it online( the same reason) so in hope anyone in list can help me i`m sending the versions of things i`m using now:

mysql: [3.23.49] instaled from debian package(not touched i only created a user and a database)
gtk:1.2.10 (fully functional except bu package-config wich has a bug from one instalation of gtk2 wich i`m doing now) fpc : 1.0.7 (downloaded with lazarus both the binarie and the source)

I currently tested the mysql databases with mysql++ in a c++ program, and the fpc program i sent in the other mail it works. So if anyone can enlight me i`ll thank.

Reply by email

Unknown author
I test your units and I could not find anything wrong, I got no crashes. maybe someone else could advice.

I thought that was to be. I think the problem is in my MySQL server, so i unistlaed it and tomorow i' ll download a new version, i've got to thank you a lot, and the good new :I tried with postgreSQL and it *WORKED* , i got very happy with this and for now will keep programing with postgres.

_________________________________________________________ Voce quer um iGMail protegido contra v�rus e spams? Clique aqui: http://www.igmailseguro.ig.com.br

Reply by email

Jesus Reyes
to HSO: I`ve downloaded the program mysql_query, very pretty, but i could not test it ,it makes…

----- Original Message -----

Earlier message 51 lines
From: HSO To: Lista Lazarus Sent: Thursday, February 20, 2003 9:25 PM Subject: [lazarus] MySQL and Lazarus > I`ve downloaded the program mysql_query, very pretty, but i could not test it > ,it makes boom boom. > I downloaded , opened in lazarus and compiled it, when i try to connect to the > host that comes by default in it the error message is ok,even if i use a user > unautorized the message is ok(actualy i have not yet configured my MySQL since the > last app i`ve wrote used sqlite and i have only a database for tests) but when i use > a correct user and a correct password the program crashes without explanation. > I`m used to segmention fault , but in C/C++ we hace gdb (it helps a lot > understanding wich variable caused the crash and why) when i use gdb in fpc programs > it displays the sources correctly but can not seek inside the code where is the error. > Of course the program runs in your machine(the one you`ve written) but, if the > error is my libs i wish to know where, the stdout off program does not helped me, i > can`t download the docs of fpc(the site does not respond) or even see it online( > the same reason) so in hope anyone in list can help me i`m sending the versions of > things i`m using now: > > mysql: [3.23.49] instaled from debian package(not touched i only created a user and > a database) > gtk:1.2.10 (fully functional except bu package-config wich has a bug from one instalation of gtk2 wich i`m doing now) > fpc : 1.0.7 (downloaded with lazarus both the binarie and the source) > > I currently tested the mysql databases with mysql++ in a c++ program, and the fpc program i sent in the other mail it works. > So if anyone can enlight me i`ll thank. I test your units and I could not find anything wrong, I got no crashes. maybe someone else could advice. _________________________________________________________ Do You Yahoo!? La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email