Host [NombreDelEquipo] is not allowed to connect to this MySql Server

Me acabo de enfrentar a como 12 problemas diferentes al montar una aplicación en un servidor nuevo. Uno de ellos, que no se tenía el acceso al servidor de MySQL. Para solucionarlo, basta con ejecutar la siguiente sentencia desde el administrador de MySQL:

GRANT ALL PRIVILEGES ON *.* TO root@[IP_o_NombreDelEquipo] IDENTIFIED BY [PasswordDelSqlUser]

Comments

# re: Host [NombreDelEquipo] is not allowed to connect to this MySql Server
Gravatar Muy Bien, Me sirvio muchas Gracias.

P.D Me gustaria aclarar que hay que cambiar los [] por ''.

Quedando el Comando asi.

GRANT ALL PRIVILEGES ON *.* TO 'usuariodelsql'@''Ip_o_nombreequipo' IDENTIFIED BY 'PasswordDelSqlUser';
Left by Litham on 4/19/2011 1:57 PM
# re: Host [NombreDelEquipo] is not allowed to connect to this MySql Server
Gravatar no mamesss grax nadie tenia respuesta a este problema
Left by murdoksc on 5/4/2011 11:44 AM
# re: Host [NombreDelEquipo] is not allowed to connect to this MySql Server
Gravatar Sos un genio!!! Me salvaste mucho tiempo. Gracias por el aporte!
Left by Facundo Diaz on 10/19/2011 9:33 PM
# re: Host [NombreDelEquipo] is not allowed to connect to this MySql Server
Gravatar Con agregar permisos al usuario a la base de datos es suficiente, en phpmyadmin me funciono
Left by Frank on 1/25/2012 1:50 PM
# re: Host [NombreDelEquipo] is not allowed to connect to this MySql Server
Gravatar Muchas gracias!!!
Me has salvado la vida!!!
Left by Dimitri on 5/14/2012 5:57 PM

Leave Your Comment

Title*
Name*
Email (never displayed)
 (will show your gravatar)
Url
Comment*

 

Preview Your Comment.