introduction screenshots faq forum blog modules components download
Please use the search function and/or read the FAQ first.

Go to Topic: PreviousNext
Go to: Message ListNew TopicSearchLog InPrint View

MySQL accès distant à root



Posted by: jfrobishow
February 12, 2008 03:46AM
Bonjour,

J'ai installé EasyPHP sur une machine de mon réseau local et correctement configuré Apache pour avoir un accès distant sur les autres machines de mon réseau.

Toutefois, j'aimerai avoir accès au compte "root" de mySQL à partir d'un client (SQLYog) qui est sur ma machine de dévelopement principal.

Problème...je ne vois pas comment faire. Les instructions que j'ai trouvé son pour une boite UNIX seulement et la même commande ne semble pas fonctionner.

grant all privileges on *.* to root@'%' identified by 'pwd123' with
grant option ;

Quelqu'un à une solution? J'ai fait le "binding" nécessaire pour mySQL et le serveur répond de la machine distante...sauf que je ne suis pas autorisé pour root.

Merci!!

EDIT: Euh, bon j'ai finalement trouvé...il suffit de mettre
bind-address = 127.0.0.1 en commentaire pour permettre les connections a distances.

Merci encore!



Edited 1 time(s). Last edit at 02/12/2008 04:29AM by jfrobishow.
Options: ReplyQuote
Posted by: jfrobishow
February 12, 2008 04:22AM
Problème résolu



Edited 1 time(s). Last edit at 02/12/2008 04:28AM by jfrobishow.
Options: ReplyQuote


Go to: Message ListSearchLog In
Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.