Buddy,
Tuesday, September 03, 2002, 11:05:24 AM, you wrote:

BB> I am using c to write some basic mysql programs and I cannot seem to get
BB> past mysql_real_connect.  I get an access denied message.  It does not
BB> recognize the password user combination.  I set the usr/pswd up with the
BB> admin progrram and can get into mysql fine.  One thing I noticed on the
BB> error message is the full host and domain name are appended to the usr
BB> and the password is being used.  My statement looks like:  connect =
BB> mysql_real_connect(&mysql,"prod.home.com,"root","fakepswd","",0,0,0) ;

What exact error message did you get? Did you connect from the same
host with "admin program" as with C application or no?





-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to