Look at the source for the mysql client, and see how they do it.

O'SULLIVAN JOHN wrote:

> 
> Hi all,
> I am very new to MYSQL and I am running 3.23 on RedHat Linux 7.1.
> I have just set up a simple database.
> I was not prompted for a password,and was just allowed to set it
> up and access it.I now want to access it through C,and I am trying to set up
> a
> connection to my database but I am getting an error :
> 
> ERROR 1045 : Access Denied for User ME@localalhost (Using Password =- Yes).
> 
> How can I set the password to my database,or how can I turn it off or is
> there another way to overcome my problem.
> I know this is a simple one but it has me at a loss and I cant really get
> started
> untill I overcome it.
> 
> Thanks in adbvance for any help receive
> 
> john
> 
> ---------------------------------------------------------------------
> 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


-- 
Gerald L. Clark
[EMAIL PROTECTED]


---------------------------------------------------------------------
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