Todos Novo

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Entrar


Todos Novo Entrar

All gists matching topic remote-access

Mais recente criado
Menos recente criado
Mais recente atualizado
Menos recente atualizado

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

0 curtidas
0 bifurcações
1 arquivos
Última atividade 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; -- 重新整理權限表
Próximo Anterior

Desenvolvido por Opengist ⋅ Load: 22ms⋅

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