Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

233
Vistas
mysql> host % vs host *

SELECT user, host FROM mysql.user; yields output like the following for us:

+------------------+---------------------------------------+
| user             | host                                  |
+------------------+---------------------------------------+
| %                | %                                     |
| plutot_admin     | %                                     |
| plutot_dev       | %                                     |
| plutot_intrn01   | %                                     |
| plutot_intrn02   | %                                     |
| plutot_ntrn01    | %                                     |
| plutot_ntrn02    | %                                     |
| plutot_tech      | %                                     |
| plutot_ntrn02    | *                                     |
| plutouser        | *                                     |
|   ...            |       ...                             |

% is wildcard host, but what is the significance of * in the query output?

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

MariaDB (but also MySQL) isn't restrictive and doesn't check the validity of a hostname (RFC 2181) and therefore doesn't claim if a host name contains an asterisk or another invalid character.

The asterisk will not be interpreted as a wild card character, wild cards are limited to percentage (%) and underscore (_).

That means someone created the user with CREATE USER 'plutouser'@'*' command, likely with the assumption that the asterisk will be interpreted as a wildcard character.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda