Hello All
While my mysql code was running, the disk where the database was present got
full and wht happened was tht the process hanged. It would not return from
the query. N in the log file it was showing
070130 10:22:47 [ERROR]
/usr/local/mysql-max-5.0.27-hpux11.11-hppa2.0w-64bit/bin/mysqld:
Di
If I fire a lot of querries, I get an error "mysql server has gone away/lost
connection with the server" . I tried to use "mysql_ping()" to reconnect,
but tht also fails... So shud i call real_connect again? I mean will it be
gud practice tht way? I looked for such an error to have occured. I fou
Hi all
When i try to run mysqld_safe cmd, it fails saying :
Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/run/mysqld/mysqld.pid
070105 20:23:40 mysqld ended
Also mysqld.pid does not exist at the given path!
Any Idea what to do??? mysql_install_db
Hello All
If I compile my code with Purify (a memory tool), I get a core dump in
mysql_real connect. at teh follwing path :
Program received signal SIGSEGV, Segmentation fault.
0x007acb37 in mysql_manager_fetch_line ()
from
/opt/Rational/releases/purecov.i386_linux2.2003a.06.15//cache/getz/usr
<[EMAIL PROTECTED]> wrote:
Hi,
Nishant Gupta wrote:
> [/usr/local/mysql-5.1.12-beta-hpux11.11-hppa2.0w
]scripts/mysql_install_db
> --user=mysql
> chown: unknown user id mysql
> Installing all prepared tables
> 061212 19:39:30 [ERROR] Fatal error: Can't change to run as
Hi All
I am trying to port my MySQL code on HP-UX, and am anuable to link my code
as I am getting the standard functions like mysql_query(),
mysql_store_result() etc as undefined. I am currently linking my code with
libmysqlclient_r.a. Do I need any other library to be linked as well??
--
*Any idea what to do*
Regards,
Nishant Gupta
Aricent (Flextronics Software Systems)
Ph No- 0124-245
Extn -5256
Hello all
I know its a very small thing to ask, but since am kinda stuck over this,
plz consider this is as imp.
Kindly let me know which header file do we need to include in order to use
NOW( ) fn while using MySQL in C/C++.
Thanks in advance...
--
Bye for now,
Nishant
God Gave Me Nothing I W
Hello all
Sorry to disturb you, but am trying to start using MySql on Linux using
C/C++. All the sample programs I found are merely compilable but crash while
running. Can anyone post a simple program to insert a record in a table in a
database? One more thing i needed to know that do we need to