Re: mysql_init segmentation fault

2007-06-05 Thread Michael Dykman
On 6/5/07, S Nassar <[EMAIL PROTECTED]> wrote: I didn't build libmysql.so myself. This was installed with mysql. The application code that calls mysql_init is built statically. I see this error when building on one machine and trying to use the code on a different machine. Knowing the operatin

Re: mysql_init(&m) changes values of variables

2005-11-14 Thread Paul DuBois
At 11:33 -0500 11/13/05, Bruce Martin wrote: Ok I have an update. I fixed my problem by passing a NULL parameter to mysql_init() to do this I did this: MYSQL *m; m=mysql_init(NULL); connection=mysql_real_connect(m,cStrdbServer,cStrdbUser,cStrdbUserPass,cStrdbName,0,NULL,0); Which solves the m

Re: mysql_init(&m) changes values of variables

2005-11-13 Thread Bruce Martin
Ok I have an update. I fixed my problem by passing a NULL parameter to mysql_init() to do this I did this: MYSQL *m; m=mysql_init(NULL); connection=mysql_real_connect(m,cStrdbServer,cStrdbUser,cStrdbUserPass,c StrdbName,0,NULL,0); On Nov 12, 2005, at 7:44 PM, Bruce Martin wrote: Hello all,

Re: mysql_init

2005-06-23 Thread Philippe Poelvoorde
yes it is im still getting the mysql_init error... what is this usually indicataive of?? a build issue?? PATHs?? config file?? Im using the standard 'came with distribution' MySQL from SLAMD 10.1... I've got no idea what is this distribution (Mandrake Linux for AMD 64?) what is strange is th

Re: mysql_init

2005-06-23 Thread ronan
Philippe Poelvoorde wrote: i've googled and the only answer to problems like this has been to reinstall the DB perl module. Ive tried this but still get same error. any clues??? thanks in advance. Ronan Is libmysqlclient.so available in one of your LD_LIBRARY_PATH directory ? thanks f

Re: mysql_init

2005-06-23 Thread Philippe Poelvoorde
i've googled and the only answer to problems like this has been to reinstall the DB perl module. Ive tried this but still get same error. any clues??? thanks in advance. Ronan Is libmysqlclient.so available in one of your LD_LIBRARY_PATH directory ? -- Philippe Poelvoorde COS Trading Lt

Re: mysql_init() issue on HPUX

2005-02-08 Thread Gleb Paharenko
Hello. > Operating system error number 13 in a file >I check the permission on the files and directories. The user 'mysql' > and group 'mysql' have access to the data directory and to the files. Check that you really run the mysqld under the 'mysql' account. Have you applied the patches

Re: mysql_init returns NULL

2004-04-20 Thread Paul DuBois
At 19:07 -0700 4/20/04, <[EMAIL PROTECTED]> wrote: I am attempting to write a C program to access MySQL. When I run this program, it reports that mysql_init() returned NULL, mysql_errno returned zero, and mysql_error returned "". Here is the program: #include #include int main( void ) {

Re: mysql_init function issues :Connecting MySQL to COBOL

2004-01-13 Thread Arunachalam
I have somehow managed to create the datatype in COBOL matching to C datatype and passed as argument to mysql_init and mysql_real_connect. My COBOL coding seems to working fine, but it could not able to connect to MySQL and retrive Data. Instead it produce an error as; Unknown MySQL S