Posted: Thu 24 Nov 2005, 11:01 Post subject:
How to connect to MYSQL with Puppy?
Hi all,
I am relatively new to puppy and have recently been trying to connect to my mysql databae on another PC.
The code works under RedHat and Slackware (as tested) but not under puppy. I thought that puppy was therefore not able to connect to mysql databases.
My alternative is to use quisp instead of mysql but i'd prefer mysql if possible.
The code is executing and then fails when trying to call a library file (libmysqlclient.so.....) and brings up the error: 'SEGMENTATION FAULT'.
The exe is in root/my-applications/bin and the 4 required lib files are in root/my-applications/lib.
Is this compatability issues between puppy and mysql.
Yes I have tried the ldd... and all the necessary libraries are there.
I cannot put the libraries and exe in the locations you suggested because I am booting puppy from a compact flash and its mounted as read-only even with full priveleges under root.
The libmysqlclient libraries are precompiled files and therefore I can't get the c code from here to debug and see exactly where it is failling.
However I think the problem is one of 2:
1). The library files are not seen/accessed for some reason
2). Puppy cannot handle mysql. Has anyone else tried??
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum