PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > Access denied for user on Windows Server
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Access denied for user on Windows Server

Réponse
 
LinkBack Outils de la discussion
Vieux 22/08/2007, 01h44   #1
Car Toper
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Access denied for user on Windows Server

I have a MySql server running on a Windows box that I cannot connect
to from another machine. I first checked to make sure the user has
the correct permissions, which the user does, it has the %. I did
read something that gave me the impression the user needs to have a
tranditional windows account on the machine, so I created one. Still
nothing. Is there anything special I need to do to allow access to
MySql when the database is running on a different machine?
  Réponse avec citation
Vieux 22/08/2007, 02h03   #2
Car Toper
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Access denied for user on Windows Server

More info...

I am able to login with the account via phpMyAdmin on the server.
Also, I am trying to use phpMyAdmin to change the permissions, but I
cannot figure out the syntax:

GRANT ON ppsntracker.* TO ppsntracker@192.168.0.19 WITH GRANT OPTION;

Cartoper

On 8/21/07, Car Toper <cartoper@gmail.com> wrote:
> I have a MySql server running on a Windows box that I cannot connect
> to from another machine. I first checked to make sure the user has
> the correct permissions, which the user does, it has the %. I did
> read something that gave me the impression the user needs to have a
> tranditional windows account on the machine, so I created one. Still
> nothing. Is there anything special I need to do to allow access to
> MySql when the database is running on a different machine?
>

  Réponse avec citation
Vieux 22/08/2007, 23h16   #3
Alex Kloss
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Access denied for user on Windows Server

Car Toper wrote:
> More info...
>
> I am able to login with the account via phpMyAdmin on the server.
> Also, I am trying to use phpMyAdmin to change the permissions, but I
> cannot figure out the syntax:
>
> GRANT ON ppsntracker.* TO ppsntracker@192.168.0.19 WITH GRANT OPTION;
>
> Cartoper
>
> On 8/21/07, Car Toper <cartoper@gmail.com> wrote:
>
>> I have a MySql server running on a Windows box that I cannot connect
>> to from another machine. I first checked to make sure the user has
>> the correct permissions, which the user does, it has the %. I did
>> read something that gave me the impression the user needs to have a
>> tranditional windows account on the machine, so I created one. Still
>> nothing. Is there anything special I need to do to allow access to
>> MySql when the database is running on a different machine?
>>
>>

>
>

If you're trying to create a superuser on the server, you would use

GRANT ALL PRIVILEGES ON ppsntracker.* TO ppsntracker@192.168.0.19 WITH
GRANT OPTION;

Although I wouldn't recommend this for security purposes; it's a much
more secure idea to selectively grant the
privileges as necessary to the user and assign a password, such as

GRANT SELECT,INSERT,DELETE ON ppsntracker.* TO ppsntracker@192.168.0.19
IDENTIFIED BY 'password';

And so forth.
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 16h00.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08504 seconds with 11 queries