Re: Re: *Cannot connect to db
| From: | bbonkosk at tampabay dot rr dot com | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Re: *Cannot connect to db | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128736@lists.php.net to get a copy of this message | ||
Can you get into the mysql DB via command line? If so, try to get in there and
make sure this user has permissions in the mysql.users table to connect via
localhost. Also verufy password they are using. Try to have this user connect
via the commandline in MYSQL, which if he is unable to there, it would rule out
your PHP being the problem...
-Brad
> Warning: MySQL Connection Failed: Access denied for user: 'tmc@localhost'
> (Using password: YES) in e:\~~~\~~~\apache\website\~~~\testdb.php on line 8
>
> The guy at the support says, that everybody else can connect no problems,
> sent me the code, which I copy-pasted and I still have this error. :((
>
>
>
> "Bastian Vogt" <bastian.vogt@komtel.net> wrote in message
> news:3E0097BB.C7F7A1F8@komtel.net...
> > Hi,
> >
> > leave out the "@", and give us the error message.
> > "@" suppresses error messages of any function.
> >
> > HTH,
> > Bastian
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>