have you tried ?
http://www.geocities.com/jahan.geo/mysql_c_by_example.html
Ruben Safir Secretary NYLXS wrote:
On Fri, Sep 19, 2003 at 09:18:22AM +0500, Vikram Vaswani wrote:
Hello,
I need to write a simple C client for a project. I am using the MySQL C
API. Attached is the code. It occassionally s
On Fri, Sep 19, 2003 at 09:18:22AM +0500, Vikram Vaswani wrote:
> Hello,
>
> I need to write a simple C client for a project. I am using the MySQL C
> API. Attached is the code. It occassionally segfaults with no visible
> pattern. Could someone help me figure out why? Or any other comments on the
Hi
I am using LOAD DATA INFILE to populate a mysql
db. I prepare the file in Excell and save it as
csv format. Every works fine... except that the
file contains special characters with accent or
symbols. Is there a way to import such text
field directly or do I need to escape all these
sp
Here is the corrected version:)
Take a look at Paul DuBois book. Don't use gets. Instead use fgets. That's
safe. I didn't change your gets call:)
hth,
Ganbold
#include
#include
#include
#if defined(_WIN32) || defined(_WIN64)
#include
#endif
#ifdef WIN32
#pragma comment(lib,"ws2_32")
#inc
Hello,
I need to write a simple C client for a project. I am using the MySQL C
API. Attached is the code. It occassionally segfaults with no visible
pattern. Could someone help me figure out why? Or any other comments on the
code to help me make it better?
/* client.c */
#include
#include
int
john,
Saturday, November 09, 2002, 9:45:15 PM, you wrote:
j> Ok.. I got the /etc/my.cnf under control, but now when I do this:
j> root@rock:/etc# mysqladmin -u root -h rock password *
j> mysqladmin: connect to server at 'rock' failed
j> error: 'Host 'rock.biohazard.org' is not allowed to conn
On Sat, 2002-11-09 at 14:45, john wrote:
>
>
> Ok.. I got the /etc/my.cnf under control, but now when I do this:
>
> root@rock:/etc# mysqladmin -u root -h rock password *
> mysqladmin: connect to server at 'rock' failed
> error: 'Host 'rock.biohazard.org' is not allowed to connect to this
>
Ok.. I got the /etc/my.cnf under control, but now when I do this:
root@rock:/etc# mysqladmin -u root -h rock password *
mysqladmin: connect to server at 'rock' failed
error: 'Host 'rock.biohazard.org' is not allowed to connect to this
MySQL server'
Then I tried this:
root@rock:/etc# mysql
I dont have a my.cnf file, so I "touched" /etc/my.conf still doesnt
work. Where do
I find a .cnf file to copy over?
and
root@rock:/var/run/mysql# ls
mysql.sock= << it exists.
What could my problem be..? I even upgraded. I am using Slackware 8.1
with 2.4.19 kernel. Maybe that will help.
Thanks s
On Mon, 2002-11-04 at 18:52, john wrote:
>
>
> When I start safe_mysqld &, I get a command prompt back again and ps aux
> shows this:
>
> mysql30269 0.0 0.1 10580 1024 pts/1S17:38 0:00
> /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql
> --pid-file=/var/lib/my
PM
To: [EMAIL PROTECTED]
Subject: Newbie help needed with mysql
When I start safe_mysqld &, I get a command prompt back again and ps aux
shows this:
mysql30269 0.0 0.1 10580 1024 pts/1S17:38 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql
--pid-
When I start safe_mysqld &, I get a command prompt back again and ps aux
shows this:
mysql30269 0.0 0.1 10580 1024 pts/1S17:38 0:00
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql
--pid-file=/var/lib/mysql/rock.pid
mysql30271 0.0 0.1 10580 1024 pts/1
Hi!
I am desperately trying to get the following combination to run:
MySQL (Win32 3.23.44) on host_1.something.tld
ColdFusion Enterprise 4.5.1 SP2 for Windows on host_2.something.tld
MyODBC 2.50.39 for NT/2000/XP on host_2.something.tld
The MySQL-DB ist hosting one database named TEST with one
13 matches
Mail list logo