Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

Iniciar sesión


Todos Nuevo Iniciar sesión

All gists matching topic root

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado

timmy / MySQL 設定 root 使用者權限與密碼

0 gustos
0 bifurcaciones
1 archivos
Última actividad 10 months ago
這段 MySQL 指令 用於 建立 root 帳戶並賦予全域權限,適用於 開放遠端連線的 MySQL 伺服器。
database mysql remote-access root security sql user-management
1 CREATE USER 'root'@'%' IDENTIFIED BY 'my_root_pwd';
2 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
3 FLUSH PRIVILEGES; -- 重新整理權限表
4
5 ALTER USER 'root'@'%' IDENTIFIED BY 'my_root_pwd';
6 FLUSH PRIVILEGES; -- 重新整理權限表
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 21ms⋅

Español
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文