Alle Neu

user:thomas Gists erstellt von Nutzer

title:mygist Gists mit Titel

filename:myfile.txt Gists mit Dateinamen

extension:yml Gists mit Dateiendung

language:go Gists in Sprache

topic:homelab gists with given topic

Anmelden


Alle Neu Anmelden

All gists matching topic remote-access

Neueste erstellt
Älteste erstellt
Neueste bearbeitet
Älteste bearbeitet

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

0 Favoriten
0 Forks
1 Dateien
Zuletzt aktiv 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; -- 重新整理權限表
Neuer Älter

Powered by Opengist ⋅ Load: 22ms⋅

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